summaryrefslogtreecommitdiff
path: root/client/js/controllers
diff options
context:
space:
mode:
authorRuin0x11 <ipickering2@gmail.com>2021-05-14 07:39:40 -0700
committerGitHub <noreply@github.com>2021-05-14 14:39:40 +0000
commita6886ddb89a99a3f93f56abc40f2174cc20d1a23 (patch)
treecc701f252746e5ef69f5604bb0ec2a793d43f152 /client/js/controllers
parentca771495979b035ac670b850b10239b6e4f10dcc (diff)
Improve compilation speed for development builds (#402)
* Improve incremental build times * Live-reloading in development mode
Diffstat (limited to 'client/js/controllers')
-rw-r--r--client/js/controllers/home_controller.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/client/js/controllers/home_controller.js b/client/js/controllers/home_controller.js
index cf56e27..ea2a411 100644
--- a/client/js/controllers/home_controller.js
+++ b/client/js/controllers/home_controller.js
@@ -17,6 +17,7 @@ class HomeController {
buildDate: config.meta.buildDate,
canListSnapshots: api.hasPrivilege("snapshots:list"),
canListPosts: api.hasPrivilege("posts:list"),
+ isDevelopmentMode: config.environment == "development"
});
Info.get().then(