Skip to content

Commit

Permalink
Improve doc in readme
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed Apr 28, 2021
1 parent b622c49 commit da4a990
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ To enjoy hot module replacement you need two things:

- the `serve` script to your `package.json` as listed above.
- the [`HMREnabler`](https://github.com/nextcloud/hmr_enabler) server app. This will tweak the CSP header so do not use it in production !
- add `js/*hot-update.*` to you `.gitignore`. This is necessary because we write every files on disk so the nextcloud server can serve them.

You can then start you dev serve with `npm serve` or `make serve-js` if you added this step in your makefile.

Expand Down

0 comments on commit da4a990

Please sign in to comment.