summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/main.go b/main.go
index 83239c2fa..d991646c5 100644
--- a/main.go
+++ b/main.go
@@ -112,6 +112,11 @@ func main() {
}
func serve(port string, config *hugolib.Config) {
+
+ if config.Verbose {
+ fmt.Println("Serving pages from " + config.GetAbsPath(config.PublishDir))
+ }
+
fmt.Println("Web Server is available at http://localhost:" + port)
fmt.Println("Press ctrl+c to stop")
panic(http.ListenAndServe(":"+port, http.FileServer(http.Dir(config.PublishDir))))