Permalink
Browse files

Set verbose to Info level

  • Loading branch information...
1 parent e799100 commit 9173022ea7bff5885bb8cfde6f62fa4865b6a829 @spf13 spf13 committed May 27, 2014
Showing with 3 additions and 3 deletions.
  1. +3 −3 commands/hugo.go
View
@@ -174,11 +174,11 @@ func InitializeConfig() {
}
if viper.GetBool("verbose") {
- jww.SetStdoutThreshold(jww.LevelDebug)
+ jww.SetStdoutThreshold(jww.LevelInfo)
}
if VerboseLog {
- jww.SetLogThreshold(jww.LevelDebug)
+ jww.SetLogThreshold(jww.LevelInfo)
}
jww.INFO.Println("Using config file:", viper.ConfigFileUsed())
@@ -312,7 +312,7 @@ func NewWatcher(port int) error {
continue
}
- isstatic := strings.HasPrefix(ev.Name, helpers.AbsPathify(viper.GetString("StaticDir")))
+ isstatic := strings.HasPrefix(ev.Name, helpers.AbsPathify(viper.GetString("StaticDir"))) || strings.HasPrefix(ev.Name, helpers.AbsPathify("themes/"+viper.GetString("theme"))+"/static/")
static_changed = static_changed || isstatic
dynamic_changed = dynamic_changed || !isstatic

0 comments on commit 9173022

Please sign in to comment.