title: node.js page refresh calling resources twice?
body: <p>I have a basic node.js setup, but I think I'm missing something.</p>
  
  <p>My <code>main.js</code>:</p>
  
  <pre><code>var a = require('./another.js');
  
  var http = require('http');
  http.createServer(function (request, response) {
      response.writeHead(200, 
      {
          'Content-Type': 'text/html'
      });
  
      response.write(a.saysomething('Hi there!') + '&lt;br /&gt;');
      response.end();
  }).listen(27182);
  
  console.log('Server running at http://127.0.0.1:27182/');
  </code></pre>
  
  <p>My <code>another.js</code>:</p>
  
  <pre><code>exports.saysomething = function (str) {
      console.log('in saysomething!');
      return str + ' hey there!';
  }
  </code></pre>
  
  <p>The issue is that my console is outputting <code>in saysomething!</code> twice.  Am I missing something?  When I refresh the page, I expect only one <code>in saysomething!</code>.</p>