Document that the main process is not restarted
This commit is contained in:
parent
0a7991bc0e
commit
31ad9a3eb3
2 changed files with 8 additions and 6 deletions
|
@ -28,7 +28,7 @@ Install dependencies
|
|||
yarn install
|
||||
```
|
||||
|
||||
Run in development mode (with hot reload)
|
||||
Run in development mode (supports hot reload for the renderer process)
|
||||
|
||||
```sh
|
||||
yarn dev
|
||||
|
|
|
@ -4,14 +4,16 @@
|
|||
|
||||
### yarn dev
|
||||
|
||||
Launch the app in development mode
|
||||
Launch the app in development mode:
|
||||
|
||||
- Runs a development server for the renderer, with HMR.
|
||||
- Transpiles the files in `src/` and starts the main process.
|
||||
|
||||
- Runs a development server for the renderer (with hot module reload).
|
||||
|
||||
- Starts tsc in watch mode to recompile the JS files used by the main process.
|
||||
|
||||
- Starts the main process, reloading it on changes to the the TS files in
|
||||
`src/`.
|
||||
Note that the main process is not restarted on changes automatically, you'll
|
||||
still need to restart the app manually – running tsc in watch mode is still
|
||||
useful to notice any errors.
|
||||
|
||||
### yarn build
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue