diff options
author | Corey Hulen <corey@hulen.com> | 2017-04-17 07:55:03 -0700 |
---|---|---|
committer | Christopher Speller <crspeller@gmail.com> | 2017-04-17 10:55:03 -0400 |
commit | acc991dea1f97e5eb93cbb1c861925d24114caca (patch) | |
tree | f7abbf45448da746dc298790e3068c616f52ccfb /cmd/platform/mattermost.go | |
parent | 32078865147dc4779023e036aba164842067e58b (diff) | |
download | chat-acc991dea1f97e5eb93cbb1c861925d24114caca.tar.gz chat-acc991dea1f97e5eb93cbb1c861925d24114caca.tar.bz2 chat-acc991dea1f97e5eb93cbb1c861925d24114caca.zip |
PLT-6317 disable file watcher while running from makefile (#6103)
* PLT-6317 disable file watcher while running from make file
* Removing debug stmt
Diffstat (limited to 'cmd/platform/mattermost.go')
-rw-r--r-- | cmd/platform/mattermost.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/platform/mattermost.go b/cmd/platform/mattermost.go index 9f58b3250..a4e44e016 100644 --- a/cmd/platform/mattermost.go +++ b/cmd/platform/mattermost.go @@ -30,6 +30,7 @@ func main() { func init() { rootCmd.PersistentFlags().StringP("config", "c", "config.json", "Configuration file to use.") + rootCmd.PersistentFlags().Bool("disableconfigwatch", false, "When set config.json will not be loaded from disk when the file is changed.") resetCmd.Flags().Bool("confirm", false, "Confirm you really want to delete everything and a DB backup has been performed.") |