build:watch script: make it watch project folders

This commit is contained in:
Ronan Jouchet 2021-09-20 10:32:32 -04:00
parent 1a54d286d8
commit fcc3906f52
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@
"build-app": "cd app && webpack",
"build-app-static": "ncp app/src/static/ app/lib/static/ && ncp app/dist/preload.js app/lib/preload.js && ncp app/dist/preload.js.map app/lib/preload.js.map",
"build": "npm run clean && tsc --build shared src app && npm run build-app && npm run build-app-static",
"build:watch": "npm run clean && tsc --build . app --watch",
"build:watch": "npm run clean && tsc --build shared src app --watch",
"changelog": "./.github/generate-changelog",
"ci": "npm run lint && npm test",
"clean": "rimraf coverage/ lib/ app/lib/ app/dist/ shared/lib",