Skip to content

Nested views does not trigger live reload #25

@kino90

Description

@kino90

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!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions