aboutsummaryrefslogtreecommitdiff
path: root/package.json
diff options
context:
space:
mode:
authorJoris2016-03-22 21:30:21 +0100
committerJoris2016-03-22 21:30:21 +0100
commit32db6a74d8578f993dd1cce3367fc7615ec730cd (patch)
tree7079540cc628016a867b9cb6a78290d019541324 /package.json
parent1c7d6ea6e3bcd3c672cb5eb3cf22ffc88cabb257 (diff)
downloadbudget-32db6a74d8578f993dd1cce3367fc7615ec730cd.tar.gz
budget-32db6a74d8578f993dd1cce3367fc7615ec730cd.tar.bz2
budget-32db6a74d8578f993dd1cce3367fc7615ec730cd.zip
Use nodemon insteal of watch
Diffstat (limited to 'package.json')
-rw-r--r--package.json8
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",