nodemon background
This commit is contained in:
@@ -54,7 +54,7 @@
|
|||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"start": "node server.js",
|
"start": "node server.js",
|
||||||
"start:dev": "nodemon -V --ignore 'data/*' --ignore 'Profile' --ignore 'static/application.min.js' server.js ",
|
"start:dev": "nodemon -V --ignore 'data/*' --ignore 'Profile' --ignore 'static/application.min.js' server.js < /dev/null",
|
||||||
"test": "mocha -r should spec/*"
|
"test": "mocha -r should spec/*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -173,6 +173,7 @@ app.use(route(function(router) {
|
|||||||
});
|
});
|
||||||
}));
|
}));
|
||||||
|
|
||||||
|
//app.use(require('connect-ensure-login').ensureLoggedIn());
|
||||||
// Otherwise, try to match static files
|
// Otherwise, try to match static files
|
||||||
app.use(connect_st({
|
app.use(connect_st({
|
||||||
path: __dirname + '/static',
|
path: __dirname + '/static',
|
||||||
|
|||||||
Reference in New Issue
Block a user