install and use nodemon in npm start command

This commit is contained in:
Sameer Naik
2017-01-20 20:40:32 +05:30
parent 9cafc49e9c
commit 83ce414b61

View File

@@ -65,6 +65,10 @@ wait_for_db() {
bootstrap_express_app() {
log "Creating express application"
express . -f
log "Adding nodemon npm module (dev)"
npm install nodemon --save-dev
sed -i 's,node ./bin/www,nodemon ./bin/www,' package.json
}
add_database_support() {