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!)
Found this some time ago, didn't have the time to look into.
At the moment we watch all the
njkorhtmlfiles into/viewsand 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!)