mirror of
https://github.com/gohugoio/hugo.git
synced 2024-11-30 00:53:28 -05:00
Fix the last Go Vet error
This commit is contained in:
parent
be01d04870
commit
be57ec5331
1 changed files with 1 additions and 1 deletions
|
@ -425,7 +425,7 @@ func NewWatcher(port int) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if staticChanged {
|
if staticChanged {
|
||||||
jww.FEEDBACK.Println("Static file changed, syncing\n")
|
jww.FEEDBACK.Printf("Static file changed, syncing\n\n")
|
||||||
utils.StopOnErr(copyStatic(), fmt.Sprintf("Error copying static files to %s", helpers.AbsPathify(viper.GetString("PublishDir"))))
|
utils.StopOnErr(copyStatic(), fmt.Sprintf("Error copying static files to %s", helpers.AbsPathify(viper.GetString("PublishDir"))))
|
||||||
|
|
||||||
if !BuildWatch && !viper.GetBool("DisableLiveReload") {
|
if !BuildWatch && !viper.GetBool("DisableLiveReload") {
|
||||||
|
|
Loading…
Reference in a new issue