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

Dropping a bundle into a running server only partially works #5075

Closed
bep opened this issue Aug 15, 2018 · 3 comments
Closed

Dropping a bundle into a running server only partially works #5075

bep opened this issue Aug 15, 2018 · 3 comments
Assignees
Milestone

Comments

@bep
Copy link
Member

bep commented Aug 15, 2018

If the bundle contains both content and images, Hugo seem to be confused with the events created, and you will need a restart to get it into shape again.

@bep bep added the Bug label Aug 15, 2018
@bep bep added this to the v0.47 milestone Aug 15, 2018
@bep bep self-assigned this Aug 15, 2018
@bep
Copy link
Member Author

bep commented Aug 15, 2018

Another similar failing case is if you delete a bundle. I think I'll create a separate issue for that.

@bep
Copy link
Member Author

bep commented Aug 15, 2018

There are some other related cases here as well. Will test this some more tomorrow.

bep added a commit to bep/hugo that referenced this issue Aug 16, 2018
Before this commit, the live reload logic in `hugo server` got confused when you dropped a new bundle into the project while the server was running. The workaround was to restart the server.

This commit fixes the "live reload bundle detection" in server mode, and also makes sure that the bundle headers are always processed first.

Fixes gohugoio#5075
bep added a commit to bep/hugo that referenced this issue Aug 16, 2018
Before this commit, the live reload logic in `hugo server` got confused when you dropped a new bundle into the project while the server was running. The workaround was to restart the server.

This commit fixes the "live reload bundle detection" in server mode, and also makes sure that the bundle headers are always processed first.

Fixes gohugoio#5075
@bep bep closed this as completed in d139a03 Aug 16, 2018
@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 Feb 27, 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

1 participant