mirror of
https://github.com/seejohnrun/haste-server
synced 2025-08-22 07:23:10 -07:00
nodemon background
This commit is contained in:
parent
024f13996a
commit
7edb3082e4
2 changed files with 2 additions and 1 deletions
|
@ -54,7 +54,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"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/*"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -173,6 +173,7 @@ app.use(route(function(router) {
|
|||
});
|
||||
}));
|
||||
|
||||
//app.use(require('connect-ensure-login').ensureLoggedIn());
|
||||
// Otherwise, try to match static files
|
||||
app.use(connect_st({
|
||||
path: __dirname + '/static',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue