Skip to content

Commit ffb586f

Browse files
committed
Use best practice for nodemon
1 parent 0784839 commit ffb586f

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

nodemon.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
"ts": "ts-node"
55
},
66
"events": {
7-
"start": "tslint -c ./tslint.json -t stylish 'src/**/*.ts'",
8-
"restart": "osascript -e 'display notification \"restarting server\" with title \"node.js application\"'"
7+
"start": "tslint -c ./tslint.json -t stylish 'src/**/*.ts'"
98
}
109
}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"console:dev": "npm run ts-node -- ./src/console/commander.ts",
2828
"console:help": "npm run ts-node:fast -- ./src/console/commander.ts --help",
2929
"setup": "npm run banner setup && yarn install && npm run db:migrate && npm run db:seed",
30-
"serve": "npm run banner serve && \"./node_modules/.bin/nodemon\" --watch 'src/**/*.ts' --watch 'src/**/*.json' --watch '.env'",
30+
"serve": "npm run banner serve && \"./node_modules/.bin/nodemon\" --watch src --watch .env",
3131
"clean": "npm run banner clean && npm run clean:dist",
3232
"test": "npm run banner test && cross-env NODE_ENV=test \"./node_modules/.bin/jest\" ./test/unit",
3333
"build": "npm run banner build && npm run lint && npm run clean:dist && npm run transpile && npm run copy:assets",

0 commit comments

Comments
 (0)