Skip to content

Commit

Permalink
Add nodemon for restarting server on changes (#74)
Browse files Browse the repository at this point in the history
  • Loading branch information
prophen authored Aug 21, 2023
1 parent bb8bab4 commit 1fedc8d
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion advanced-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server/server.js",
"start": "nodemon server/server.js",
"format": "npx prettier --write **.{js,md}",
"format:check": "npx prettier --check **.{js,md}",
"lint": "npx eslint server/*.js --env=node && npx eslint client/*.js --env=browser"
Expand All @@ -17,5 +17,8 @@
"ejs": "^3.1.9",
"express": "^4.18.2",
"node-fetch": "^3.3.2"
},
"devDependencies": {
"nodemon": "^3.0.1"
}
}
5 changes: 4 additions & 1 deletion standard-integration/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node server/server.js",
"start": "nodemon server/server.js",
"format": "npx prettier --write **.{js,md}",
"format:check": "npx prettier --check **.{js,md}",
"lint": "npx eslint server/*.js --env=node && npx eslint client/*.js --env=browser"
Expand All @@ -16,5 +16,8 @@
"dotenv": "^16.3.1",
"express": "^4.18.2",
"node-fetch": "^3.3.2"
},
"devDependencies": {
"nodemon": "^3.0.1"
}
}

0 comments on commit 1fedc8d

Please sign in to comment.