Skip to content
This repository was archived by the owner on Nov 16, 2023. It is now read-only.

Commit 61d4512

Browse files
author
Bowden Kelly
authored
Merge pull request #8 from Deilan/npm-run-server-dup
Removed duplication in npm scripts `serve` and `watch`
2 parents a7ef8d5 + d423251 commit 61d4512

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"scripts": {
1212
"start": "npm run build && npm run watch",
1313
"build": "npm run build-sass && npm run build-ts && npm run tslint && npm run copy-static-assets",
14-
"serve": "node dist/server.js",
15-
"watch": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-sass\" \"npm run watch-ts\" \"nodemon dist/server.js\"",
14+
"serve": "nodemon dist/server.js",
15+
"watch": "concurrently -k -p \"[{name}]\" -n \"Sass,TypeScript,Node\" -c \"yellow.bold,cyan.bold,green.bold\" \"npm run watch-sass\" \"npm run watch-ts\" \"npm run serve\"",
1616
"test": "jest --forceExit",
1717
"build-ts": "tsc",
1818
"watch-ts": "tsc -w",

0 commit comments

Comments
 (0)