mirror of
https://github.com/bitnami/containers.git
synced 2026-03-19 15:57:46 +08:00
install and use nodemon in npm start command
This commit is contained in:
@@ -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() {
|
||||
|
||||
Reference in New Issue
Block a user