This repository was archived by the owner on Jun 5, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 23
This repository was archived by the owner on Jun 5, 2019. It is now read-only.
Script keys aren’t defined for running in “watch” mode #124
Copy link
Copy link
Open
Description
Hi,
First, thank you for this. It’s so wonderful.
Second, how can I run my app in “watch” mode (where presumably the tool watches my files for changes and recompiles on the fly)?
The documentation says:
# in terminal 1:
npm run watch:compile
# in terminal 2:
npm run watch:tests
But those script keys aren’t defined in your example package.json:
typescript-with-electron-react-kit/package.json
Lines 50 to 69 in 0acff6b
"scripts": { | |
"build-storybook": "build-storybook", | |
"clean": "rm -rf .fusebox out dist coverage", | |
"compile": "NODE_ENV=production ts-node fuse", | |
"coverage:upload": "cat ./coverage/lcov.info | coveralls", | |
"coverage": "yarn test --coverage --no-cache", | |
"dist": "electron-builder --mac --win --linux --ia32 --x64", | |
"draft": "electron-builder -p always --draft --mac --win --linux --ia32 --x64", | |
"format": "prettier --write **/*.ts && tslint -p . --fix", | |
"lint": "tslint --project .", | |
"pack": "electron-builder --dir", | |
"postinstall": "electron-builder install-app-deps", | |
"precommit": "lint-staged", | |
"prepush": "npm-run-all typecheck lint", | |
"sanity": "npm-run-all clean typecheck lint test clean compile clean", | |
"start": "ts-node fuse", | |
"storybook": "start-storybook -p 6006", | |
"test": "jest", | |
"typecheck": "tsc -p . --noEmit --pretty" | |
}, |
Metadata
Metadata
Assignees
Labels
No labels