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
Found this some time ago, didn't have the time to look into.
At the moment we watch all the njk or html files into /views and into the folders inside it (e.g. partials and templates). But when creating a subfolder it won't watch the nested files.
a quick example of what I mean:
views/
- partials/_my-partial.njk -> OK
- partials/about/_about-partial.njk --> FAIL won't trigger reload
- index.njk -> OK
It surely is an issue with the path at this line but I don't know the cleanest way to fix it (without possibly breaking any case!)
The text was updated successfully, but these errors were encountered:
I think that was by design to attach fewer watcher as possible.
Maybe it was a performance issue in some earlier versions and ot has been kept for compatibility reasons.
Anyway I think it's fine to replace it with a recurse glob path like ${viewPath}/**/${viewmatch}
Found this some time ago, didn't have the time to look into.
At the moment we watch all the
njk
orhtml
files into/views
and into the folders inside it (e.g. partials and templates). But when creating a subfolder it won't watch the nested files.a quick example of what I mean:
It surely is an issue with the path at this line but I don't know the cleanest way to fix it (without possibly breaking any case!)
The text was updated successfully, but these errors were encountered: