added sleep before start

This commit is contained in:
cubedro 2015-04-03 04:28:37 +03:00
parent e1d4be0841
commit 88a3851757
2 changed files with 4 additions and 0 deletions

3
app.js
View File

@ -1,4 +1,7 @@
var nodeModel = require('./lib/node');
var sleep = require('sleep');
sleep.sleep(10);
var node = new nodeModel();

View File

@ -15,6 +15,7 @@
"primus-emit": "^0.1.2",
"primus-spark-latency": "^0.1.1",
"shelljs": "^0.4.0",
"sleep": "^2.0.0",
"ws": "^0.7.1"
},
"scripts": {