Skip to content

Commit

Permalink
added script for running
Browse files Browse the repository at this point in the history
  • Loading branch information
prgsmall committed May 23, 2012
1 parent bea9a90 commit 787d73f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
, "main": "index.js"
, "preferGlobal": "true"
, "directories": {"lib": "./lib" }
, "scripts": { "start": "node ." }
, "scripts": { "start": "node server.js" }
, "engines": { "node": ">=0.6" }
, "dependencies" :
{ "log4js" : ">=0.4.1"
Expand Down
6 changes: 5 additions & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,11 @@ var START = function () {
};

var start = function () {
setTimeout(START, 20000);
var timeout = 0;
// If you want to debug via node-inspector, uncomment the following line:
// timeout = 20000;

setTimeout(START, timeout);
}

start();

0 comments on commit 787d73f

Please sign in to comment.