summaryrefslogtreecommitdiffstats
path: root/README.md
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-05-01 10:17:11 +0200
committerJoas Schilling <coding@schilljs.com>2023-05-01 10:17:11 +0200
commit3bffe827afd0e99012239f62402340e360882f23 (patch)
tree4e07a86b86aa6666a5c754a04b6d1ae106046529 /README.md
parent1cf363570474b531bd45e34b3e14b2fd589a2117 (diff)
docs(frontend): Add information about HMR to readme
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'README.md')
-rw-r--r--README.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/README.md b/README.md
index 4a9d94b8f..2220cb5f4 100644
--- a/README.md
+++ b/README.md
@@ -79,12 +79,20 @@ If you need to use Talk in an enterprise environment, [contact our sales team](h
1. 🗂️ Simply clone this repository into the `apps` folder of your Nextcloud development instance.
2. 📦 Run `make dev-setup` to install the dependencies.
3. 🏗️ Run `make build-js`.
-4. 🔌 Then activate it through the apps management. :tada:
+4. 🔌 Then activate it through the apps management. 🎉
5. 📘 To build the docs locally, install mkdocs locally: `apt install mkdocs mkdocs-bootstrap`.
+### Faster frontend developing with HMR
+
+You can enable HMR (Hot module replacement) to avoid page reloads when working on the frontend:
+
+1. ☑️ Install and enable [`hmr_enabler` app](https://github.com/nextcloud/hmr_enabler)
+2. 🏁 Run `npm run serve`
+3. 🌍 Open the normal Nextcloud server URL (not the URL given by above command)
+
We are also available on [our public Talk team conversation](https://cloud.nextcloud.com/call/c7fz9qpr), if you want to join the discussion.
-### Useful tricks for testing
+### Useful tricks for testing video calls
* Disable camera until reboot: `sudo modprobe -r uvcvideo`
* Re-enable camera: `sudo modprobe uvcvideo`