Skip to content

Commit

Permalink
BC-7994 Use node --watch instead of nodemon (#272)
Browse files Browse the repository at this point in the history
  • Loading branch information
dyedwiper authored Dec 2, 2024
1 parent b594466 commit 28684ba
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

1. Clone directory into local folder
2. Go into the cloned folder and enter `npm install`
3. Install nodemon and gulp globally by entering `npm install -g nodemon gulp`
3. Install gulp globally by entering `npm install -g gulp`

## Run

Expand Down
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,10 +4,9 @@
"scripts": {
"build": "gulp",
"start": "node ./bin/www",
"watch": "nodemon --watch ./ --watch views/ --watch controllers/ --watch build/ --ext js,hbs ./bin/www",
"debug": "nodemon --inspect=0.0.0.0:9311 --watch controllers/ --watch helpers/ --watch views/ --ext js,hbs ./bin/www",
"watch": "node --watch ./bin/www",
"debug": "node --inspect=0.0.0.0:9311 --watch ./bin/www",
"lint": "eslint ./bin ./controllers ./helpers ./test ./api.js ./app.js --ext .js --fix",
"startd": "echo 'Do you mean 'npm run watch'?'",
"test": "mocha 'test/**/*.js' --recursive --timeout 60000 --exit"
},
"engines": {
Expand Down

0 comments on commit 28684ba

Please sign in to comment.