typescript-with-electron-react-kit icon indicating copy to clipboard operation
typescript-with-electron-react-kit copied to clipboard

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

Open briandk opened this issue 6 years ago • 0 comments

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

briandk avatar May 21 '18 01:05 briandk