Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hugo -w (aka watch without server) does not pick up changes #3980

Closed
sklar opened this issue Oct 18, 2017 · 5 comments
Closed

hugo -w (aka watch without server) does not pick up changes #3980

sklar opened this issue Oct 18, 2017 · 5 comments

Comments

@sklar
Copy link

sklar commented Oct 18, 2017

Recreating files while watching by hugo -w doesn't work in v0.30 darwin/amd64 BuildDate: 2017-10-18T16:02:31+02:00 though Change detected, rebuilding site.

@bep
Copy link
Member

bep commented Oct 18, 2017

Recreating files

What exactly do you mean by this? Also, do you know if this worked for you in Hugo 0.29?

@sklar
Copy link
Author

sklar commented Oct 18, 2017

It works fine in v0.29 and all previous versions.

Steps to reproduce

  1. Run hugo -w
  2. Change content of document placed in contentDir
  3. Check content of related publishDir file - it is not updated

@Jos512
Copy link

Jos512 commented Oct 18, 2017

Someone else on the forum (in the release thread for 0.30) mentioned similar behaviour:

hugo -w (without server) does not work correctly. While it shows the console message like ... 96 regular pages created ... total in 12 ms right after updating a source file, the corresponding output file in public/ remains the same.

@bep
Copy link
Member

bep commented Oct 18, 2017

OK, I think I know. My mistake. I will fix for 0.30.1. Thanks for reporting.

@bep bep added the Bug label Oct 18, 2017
@bep bep added this to the v0.30.1 milestone Oct 18, 2017
@bep bep changed the title Recreating files doesn't work hugo -w (aka watch without server) does not pick up changes Oct 18, 2017
@bep bep closed this as completed in fa53b13 Oct 18, 2017
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Mar 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants