diff --git a/server.js b/server.js index def3d0a..ff100a1 100755 --- a/server.js +++ b/server.js @@ -5,4 +5,4 @@ var app = connect() .use(connect.logger('dev')) .use(connect.static(process.cwd())) .use(connect.directory(process.cwd())) - .listen(8000); \ No newline at end of file + .listen(process.argv[2] || 8000); \ No newline at end of file