You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hugo perfectly builds the site in workspaces, however, it doesn't watch the directories from use directive in go.work for changes. For example, my use case was to debug a theme I'm working on. Hugo would not detect and rebuild the site if I made changes to the theme.
My go.work:
go 1.19
use ../../themes/hugo-yami
It would be really great if Hugo looks for the go.work file relative to the project. Additionally, having Hugo parse the go.work file to look out for use directives would be awesome. It would allow site rebuilds if any of the modules in the workspace got updated.
The text was updated successfully, but these errors were encountered:
The current state of workspaces in Hugo is:
module.workspace
needs an absolute pathuse
directive ingo.work
for changes. For example, my use case was to debug a theme I'm working on. Hugo would not detect and rebuild the site if I made changes to the theme.My
go.work
:It would be really great if Hugo looks for the
go.work
file relative to the project. Additionally, having Hugo parse thego.work
file to look out foruse
directives would be awesome. It would allow site rebuilds if any of the modules in the workspace got updated.The text was updated successfully, but these errors were encountered: