From 3bffe827afd0e99012239f62402340e360882f23 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Mon, 1 May 2023 10:17:11 +0200 Subject: docs(frontend): Add information about HMR to readme Signed-off-by: Joas Schilling --- README.md | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'README.md') 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` -- cgit v1.2.3