diff options
Diffstat (limited to 'commands/server.go')
-rw-r--r-- | commands/server.go | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/commands/server.go b/commands/server.go index 58d1a60fb..c2bd76dae 100644 --- a/commands/server.go +++ b/commands/server.go @@ -36,7 +36,6 @@ import ( "github.com/gohugoio/hugo/tpl" "github.com/gohugoio/hugo/config" - "github.com/gohugoio/hugo/helpers" "github.com/spf13/afero" "github.com/spf13/cobra" @@ -301,6 +300,8 @@ func (f *fileServer) createEndpoint(i int) (*http.ServeMux, string, string, erro absPublishDir := f.c.hugo.PathSpec.AbsPathify(publishDir) + jww.FEEDBACK.Printf("Environment: %q", f.c.hugo.Deps.Site.Hugo().Environment) + if i == 0 { if f.s.renderToDisk { jww.FEEDBACK.Println("Serving pages from " + absPublishDir) |