Skip to content

Commit f26d15c

Browse files
authored
Build first before serving
1 parent c97aab0 commit f26d15c

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"onCreateCommand": "npm install",
1616
"postAttachCommand": {
1717
"server": "npm run serve",
18-
"watcher": "npx gulp watch"
18+
"watcher": "npx run watch"
1919
},
2020
"hostRequirements": {"cpus": 4}
2121
}

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,8 @@
99
"test": "nyc --check-coverage --lines 100 --functions 100 --branches 100 mocha app/tests",
1010
"coverage": "nyc report --reporter=text-lcov | node ./node_modules/coveralls/bin/coveralls.js",
1111
"lint": "./node_modules/.bin/eslint .",
12-
"serve": "npx serve -n"
12+
"serve": "npx gulp && npx serve -n",
13+
"watch": "npx gulp watch"
1314
},
1415
"husky": {
1516
"hooks": {

0 commit comments

Comments
 (0)