i have a simple node script
var http = require('http');
http.createServer(function (req, res) {
res.writeHead(200, {'Content-Type': 'text/plain'});
res.end('Hello World\n');
}).listen(1337);
now when i run this, i can go to localhost:1337 and see the output but , in the command module, its frozen for some reason. until i press ctrl+C its frozen and only after Ctrl+C im allowed to execute more files.
is this just me or its the way it was designed. If it is can someone point me in the right direction as to how to have it always listen on port 1337 or another for different files.