added sleep before start
This commit is contained in:
parent
e1d4be0841
commit
88a3851757
3
app.js
3
app.js
@ -1,4 +1,7 @@
|
|||||||
var nodeModel = require('./lib/node');
|
var nodeModel = require('./lib/node');
|
||||||
|
var sleep = require('sleep');
|
||||||
|
|
||||||
|
sleep.sleep(10);
|
||||||
|
|
||||||
var node = new nodeModel();
|
var node = new nodeModel();
|
||||||
|
|
||||||
|
@ -15,6 +15,7 @@
|
|||||||
"primus-emit": "^0.1.2",
|
"primus-emit": "^0.1.2",
|
||||||
"primus-spark-latency": "^0.1.1",
|
"primus-spark-latency": "^0.1.1",
|
||||||
"shelljs": "^0.4.0",
|
"shelljs": "^0.4.0",
|
||||||
|
"sleep": "^2.0.0",
|
||||||
"ws": "^0.7.1"
|
"ws": "^0.7.1"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
Loading…
Reference in New Issue
Block a user