diff options
Diffstat (limited to 'package.json')
-rw-r--r-- | package.json | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/package.json b/package.json index 23a7b15..9cc8f10 100644 --- a/package.json +++ b/package.json @@ -1,14 +1,14 @@ { "devDependencies": { - "watch": "0.17.1" + "nodemon": "1.9.1" }, "scripts": { "start": "npm run watch", "watch": "npm run watch-server & npm run watch-elm & npm run watch-js", - "watch-server": "watch 'npm run build-and-launch-server --silent' src/server", - "watch-elm": "watch 'npm run build-elm --silent' src/client/elm", - "watch-js": "watch 'npm run build-js --silent' src/client/js", + "watch-server": "nodemon -e hs,conf --exec 'npm run build-and-launch-server --silent'", + "watch-elm": "nodemon -e elm --exec 'npm run build-elm --silent'", + "watch-js": "nodemon --watch src/client/js --exec 'npm run build-js --silent'", "build": "npm run build-server && npm run build-elm && npm run build-js", "build-server": "cabal build", |