I’m using hugo_0.12_darwin_amd64 on a MacBook Air (OSX 10.9.5) and am having trouble generating content.
I’m using the hyde-x layout and running “hugo server --watch” from the directory with my config.toml file. The output when I start up is:
lolian:downtroddenville.com mdhender$ hugo server --watch
0 draft content
0 future content
2 pages created
4 tags created
2 categories created
in 9 ms
Watching for changes in /Users/mdhender/Sites/hugo/downtroddenville.com/content
Serving pages from /Users/mdhender/Sites/hugo/downtroddenville.com/public
Web Server is available at http://localhost:1313
Press ctrl+c to stop
It isn’t catching updates, though. If I change a .md file, nothing is regenerated
[hit control-c]
lolian:downtroddenville.com mdhender$ ll content/blog/inaugural-strip.md public/blog/inaugural-strip/index.html
-rw-r–r-- 1 mdhender staff 664 Sep 20 11:02 content/blog/inaugural-strip.md
-rw-rw-r-- 1 mdhender staff 3353 Sep 20 11:01 public/blog/inaugural-strip/index.html
The .md is newer than the .html.
The “check” option doesn’t seem to find issues.
lolian:downtroddenville.com mdhender$ hugo check --verbose
INFO: 2014/09/20 Using config file: /Users/mdhender/Sites/hugo/downtroddenville.com/config.toml
INFO: 2014/09/20 found taxonomies: map[string]string{“tag”:“tags”, “category”:“categories”}
firstpost.md (renderer: markdown) (layout: blog/single.html, exists: false) (layout: _default/single.html, exists: false) (layout: theme/blog/single.html, exists: false) (layout: theme/_default/single.html, exists: false)
canonical => /Users/mdhender/Sites/hugo/downtroddenville.com/public/blog/spf13-vim-3-0-release-and-new-website/index.html
inaugural-strip.md (renderer: markdown) (layout: blog/single.html, exists: false) (layout: _default/single.html, exists: false) (layout: theme/blog/single.html, exists: false) (layout: theme/_default/single.html, exists: false)
canonical => /Users/mdhender/Sites/hugo/downtroddenville.com/public/blog/inaugural-strip/index.html
lolian:downtroddenville.com mdhender$ ll content/blog/inaugural-strip.md public/blog/inaugural-strip/index.html
-rw-r–r-- 1 mdhender staff 664 Sep 20 11:02 content/blog/inaugural-strip.md
-rw-rw-r-- 1 mdhender staff 3353 Sep 20 11:01 public/blog/inaugural-strip/index.html
If I regenerate the template, then hugo does recreate the content.
lolian:downtroddenville.com mdhender$ hugo -t hyde-x
0 draft content
0 future content
2 pages created
4 tags created
2 categories created
in 41 ms
lolian:downtroddenville.com mdhender$ ll content/blog/inaugural-strip.md public/blog/inaugural-strip/index.html
-rw-r–r-- 1 mdhender staff 664 Sep 20 11:02 content/blog/inaugural-strip.md
-rw-rw-r-- 1 mdhender staff 3353 Sep 20 11:05 public/blog/inaugural-strip/index.html