From 77a1a600044871a14a404cde82332c260c43eb22 Mon Sep 17 00:00:00 2001 From: Vincent Petry Date: Fri, 9 Oct 2020 14:12:40 +0200 Subject: [PATCH] Enhance README to mention module compilation Added hint about MODULE=xxx when recompiling production assets. Signed-off-by: Vincent Petry --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 5f306725cdf..dd7459b68a0 100644 --- a/README.md +++ b/README.md @@ -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 ðŸ›