Skip to content
This repository has been archived by the owner on Mar 27, 2019. It is now read-only.

Commit

Permalink
Remove nodemon from default run (#227)
Browse files Browse the repository at this point in the history
  • Loading branch information
djenriquez authored Jan 2, 2018
1 parent 7ea0ea6 commit 271238a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 2 additions & 0 deletions bin/entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ fi

if [ "$1" = 'start_app' ]; then
exec yarn run serve "$@"
elif [ "$1" = 'dev' ]; then
exec yarn run dev "$@"
fi

exec "$@"
1 change: 1 addition & 0 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ services:
NODE_TLS_REJECT_UNAUTHORIZED: 0
VAULT_URL_DEFAULT: http://vault:8200
VAULT_AUTH_DEFAULT: USERNAMEPASSWORD
command: ["dev"]
# VAULT_SUPPLIED_TOKEN_HEADER: 'X-Remote-User'

webpack:
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"scripts": {
"lint": "eslint .",
"dist": "build",
"serve": "nodemon ./server.js",
"serve": "node ./server.js",
"dev": "nodemon ./server.js",
"dev-pack": "webpack -d --env.target=web --hide-modules -w",
"build-desktop": "webpack -p --env.target=electron --hide-modules",
"build-web": "webpack -p --env.target=web --hide-modules",
Expand Down

0 comments on commit 271238a

Please sign in to comment.