Skip to content

Commit 9702a9b

Browse files
committed
Fix: Add nodemon legacy watch for windows
Fix nodemon --watch not working on Docker Windows
1 parent bfcb3fa commit 9702a9b

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

backend/package.json

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
"version": "0.0.1",
44
"private": true,
55
"scripts": {
6-
"start": "nodemon --watch . app.js"
6+
"start": "npm run start:linux",
7+
"start:linux": "nodemon --watch . app.js",
8+
"start:windows": "nodemon --legacy-watch app.js"
79
},
810
"dependencies": {
911
"cookie-parser": "~1.4.4",

0 commit comments

Comments
 (0)