Strange one this.
After working flawlessly for all the time I’ve been using Hugo, the
--watch flag suddenly seems to have become unreliable.
I was working on a post today and noticed that
hugo server --watch was not detecting edits I was making to the page. It would work for maybe the first edit [or perhaps two] and then would stop picking up further edits. If I used
CTRL+C to quit the Hugo server and then started it again, the same pattern would repeat: it would pick up the first edit or two and then stop noticing them again.
Anybody else seen anything like this before?
The only thing I can think that I did differently from usual this time was to start by duplicating an existing post .md file using the Finder in OSX, rather than using
hugo new blahblah.md. But surely that shouldn’t have made any difference. Doesn’t the
--watch flag just monitor the entire site directory for changes? Otherwise how would it pick up edits to existing posts, as well as the current one?
VERSION: ``Hugo Static Site Generator v0.14 BuildDate: 2015-06-16T21:43:06+01:00```