From d2af0d4a25e95b2a7dd71ece9133c04b278c6e51 Mon Sep 17 00:00:00 2001 From: Justin Calleja Date: Fri, 24 Oct 2014 19:42:48 +0200 Subject: [PATCH] Attempt to resolve issue 579. Config file is not being picked up when running `hugo server --watch` from withing the hugo project directory (the site). --- viper.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/viper.go b/viper.go index e658a8e..a3d83c9 100644 --- a/viper.go +++ b/viper.go @@ -39,7 +39,7 @@ import ( ) // A set of paths to look for the config file in -var configPaths []string +var configPaths []string = []string{"."} // Name of file to look for inside the path var configName string = "config"