1
0
mirror of https://github.com/gohugoio/hugo.git synced 2024-05-11 05:54:58 +00:00

Clean up server & build site logic. Fixed #94

This commit is contained in:
spf13
2013-10-09 18:52:29 -04:00
parent e6ace71fec
commit 0318f7c149
3 changed files with 34 additions and 21 deletions

View File

@@ -45,7 +45,7 @@ func server(cmd *cobra.Command, args []string) {
Config.BaseUrl = "http://localhost:" + strconv.Itoa(serverPort)
}
build(cmd, args)
build()
// Watch runs its own server as part of the routine
if serverWatch {