Enhance README to mention module compilation

Added hint about MODULE=xxx when recompiling production assets.

Signed-off-by: Vincent Petry <vincent@nextcloud.com>
This commit is contained in:
Vincent Petry 2020-10-09 14:12:40 +02:00
parent 1ba1bd252d
commit 77a1a60004
No known key found for this signature in database
GPG Key ID: E055D6A4D513575C
1 changed files with 6 additions and 1 deletions

View File

@ -95,7 +95,12 @@ make build-js-production
```
Then add the compiled files for committing.
Please note that if you used `make build-js` or `make watch-js` before almost all files changed, so might need to clear the workspace first.
To save some time, to only rebuild for a specific app, use the following and replace the module with the app name:
```
MODULE=user_status make build-js-production
```
Please note that if you used `make build-js` or `make watch-js` before, you'll notice that a lot of files were marked as changed, so might need to clear the workspace first.
### Tools we use 🛠