Skip to content

armgit / ente

Public Imported from GitHub
0

💚 End-to-end encrypted cloud for everything.

Document that the main process is not restarted

Manav Rathi31ad9a3eb3ab
diff --git a/desktop/README.md b/desktop/README.md
index 496b8dbed1..05149f5d0c 100644
--- a/desktop/README.md
+++ b/desktop/README.md
@@ -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
diff --git a/desktop/docs/dev.md b/desktop/docs/dev.md
index a175f9b811..f4fa69b55b 100644
--- a/desktop/docs/dev.md
+++ b/desktop/docs/dev.md
@@ -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.
-- Starts tsc in watch mode to recompile the JS files used by the main process.
+- Runs a development server for the renderer (with hot module reload).
-- Starts the main process, reloading it on changes to the the TS files in
- `src/`.
+- Starts tsc in watch mode to recompile the JS files used by the main process.
+ 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