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 · 4 comments

Comments

Projects
None yet
3 participants
@sklar

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

This comment has been minimized.

Show comment
Hide comment
@bep

bep Oct 18, 2017

Member

Recreating files

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

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

This comment has been minimized.

Show comment
Hide comment
@sklar

sklar 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

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

This comment has been minimized.

Show comment
Hide comment
@Jos512

Jos512 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.

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

This comment has been minimized.

Show comment
Hide comment
@bep

bep Oct 18, 2017

Member

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

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 from Recreating files doesn't work to hugo -w (aka watch without server) does not pick up changes Oct 18, 2017

@bep bep closed this in fa53b13 Oct 18, 2017

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment