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
{{ message }}
This repository has been archived by the owner on Feb 7, 2023. It is now read-only.
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
The text was updated successfully, but these errors were encountered:
Bump on this. I'm of course of no help from how to resolve the issue, but I'd like Pattern Lab to build when a new file is created. FWIW, when I use Pattern Lab PHP with Grunt, the watch command seems to catch new file creations. Here's the relevant code in Gruntfile.js:
I am using Edition Node Grunt
v2.3.0
onWindows
, with Nodev6.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 specificallyfs.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 withgrunt-contrib-watch
The text was updated successfully, but these errors were encountered: