diff --git a/packages/address-watcher/package.json b/packages/address-watcher/package.json index b290d76d..fed3f940 100644 --- a/packages/address-watcher/package.json +++ b/packages/address-watcher/package.json @@ -4,8 +4,8 @@ "description": "Address Watcher", "private": true, "scripts": { - "server": "DEBUG=vulcanize:* nodemon src/server.ts -f environments/local.toml", - "job-runner": "DEBUG=vulcanize:* nodemon src/job-runner.ts -f environments/local.toml", + "server": "DEBUG=vulcanize:* nodemon --watch src src/server.ts -f environments/local.toml", + "job-runner": "DEBUG=vulcanize:* nodemon --watch src src/job-runner.ts -f environments/local.toml", "fill": "DEBUG=vulcanize:* ts-node src/fill.ts -f environments/local.toml", "test": "mocha -r ts-node/register src/**/*.spec.ts", "lint": "eslint .", diff --git a/packages/erc20-watcher/package.json b/packages/erc20-watcher/package.json index 67078230..5119f5c7 100644 --- a/packages/erc20-watcher/package.json +++ b/packages/erc20-watcher/package.json @@ -5,7 +5,7 @@ "private": true, "main": "index.ts", "scripts": { - "server": "DEBUG=vulcanize:* nodemon src/server.ts -f environments/local.toml", + "server": "DEBUG=vulcanize:* nodemon --watch src src/server.ts -f environments/local.toml", "server:mock": "MOCK=1 nodemon src/server.ts -f environments/local.toml", "test": "mocha -r ts-node/register src/**/*.spec.ts", "lint": "eslint .",