-
Notifications
You must be signed in to change notification settings - Fork 14
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
handlebars partials do not reload in combination with gulp watch #15
Comments
Oh, good call. I'll add a |
I have been successfully using https://www.npmjs.com/package/require-new in similar situations, might be an option. |
I've added |
Thanks! Was just trying to work around this yesterday... |
@shannonmoeller awesome stuff, confirming bustCache works as expected. And liking the debug flag. |
@elisechant Thanks for confirming! |
Interesting, I just came across a similiar issue:
Changing something in my html file works fine. But when changing the threesixty.hbs partial the changes are not visible until I edit the html file or restart gulp. I'm using gulp 4 and gulp-hb 8 Any ideas? |
@jensbambauer That’s odd. I’d expect that to work fine based on your setup. Mind opening a new issue for this? |
Sure, I will open a new issue. My workaround now is to have a watcher for the hbs files which just update the html file date :) |
With the following gulp-hb configuration:
And the following watch task:
Although this watch task triggers the 'templates' task to rerun on all template file changes, only changes to Handlebars Templates (.html) update and never Handlebars Partials. Handlebars Partials appear to become cached by gulp-hb. Is it possible to force the partials to update or could this be a bug?
The text was updated successfully, but these errors were encountered: