From 32db6a74d8578f993dd1cce3367fc7615ec730cd Mon Sep 17 00:00:00 2001 From: Joris Date: Tue, 22 Mar 2016 21:30:21 +0100 Subject: Use nodemon insteal of watch --- package.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'package.json') 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", -- cgit v1.2.3