Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Watcher doesn't catch new files #13

@Schleuse

Description

@Schleuse

I am using Edition Node Grunt v2.3.0 on Windows, with Node v6.3.1.

Expected Behavior

The Creation of new patterns should trigger the watcher to rebuild patternlab.

Actual Behavior

Nothing happens when new patterns are created. I have to restart my watch-task to trigger a rebuild.

Steps to Reproduce

Start the Watcher.
Create a new pattern.
See nothing happen.

Seems to be a general issue with grunt-contrib-watch or more specifically fs.watch (gruntjs/grunt-contrib-watch#282)

My current workaround is to remove the call of path.resolve(...) around the paths that should be watched. Absolute paths seem to mess with grunt-contrib-watch

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions