skellock / typescript-with-electron-react-kit

Don't just start your Electron app... TWERKit.
https://skellock.github.io/typescript-with-electron-react-kit
MIT License
145 stars 23 forks source link

Script keys aren’t defined for running in “watch” mode #124

Open briandk opened 6 years ago

briandk commented 6 years ago

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:

https://github.com/skellock/typescript-with-electron-react-kit/blob/0acff6b0920d3b3a14ba2f1987a69f502c6c20a8/package.json#L50-L69