Document that the main process is not restarted

This commit is contained in:
Manav Rathi 2024-03-22 19:55:57 +05:30
parent 0a7991bc0e
commit 31ad9a3eb3
No known key found for this signature in database
2 changed files with 8 additions and 6 deletions

View file

@ -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

View file

@ -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