mirror of
https://github.com/gohugoio/hugo.git
synced 2025-04-29 07:00:31 +03:00
Clean up server & build site logic. Fixed #94
This commit is contained in:
parent
e6ace71fec
commit
0318f7c149
3 changed files with 34 additions and 21 deletions
|
@ -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 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue