diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index dba99cd7..e5977636 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -15,7 +15,7 @@ "onCreateCommand": "npm install", "postAttachCommand": { "server": "npm run serve", - "watcher": "npx gulp watch" + "watcher": "npm run watch" }, "hostRequirements": {"cpus": 4} } diff --git a/package.json b/package.json index 1c395b0d..eefb1eee 100644 --- a/package.json +++ b/package.json @@ -9,7 +9,8 @@ "test": "nyc --check-coverage --lines 100 --functions 100 --branches 100 mocha app/tests", "coverage": "nyc report --reporter=text-lcov | node ./node_modules/coveralls/bin/coveralls.js", "lint": "./node_modules/.bin/eslint .", - "serve": "npx serve -n" + "serve": "npx gulp && npx serve -n", + "watch": "npx gulp watch" }, "husky": { "hooks": {