Closed karlschwaier closed 7 years ago
This is quite frustrating when trying to build components that use a simple amount of JS (accordion, carousel, mobile menu). I have added a pull request to fix this exact issue.
This also applies to pattern *.json
files, though they ought to be watched.
I am using Pattern Lab Node- Gulp Edition
v2.5.1
onMac
.Expected Behavior
Watch should detect changes in directory
source/js
and trigger tasks.Actual Behavior
Nothing happens on change.
Steps to Reproduce
gulp patternlab:watch
orgulp patternlab:serve
.source/js
and save it.Watching JS is included in the Grunt Edition (https://github.com/pattern-lab/edition-node-grunt/blob/master/Gruntfile.js#L87-L101) but not in the Gulp Edition (https://github.com/pattern-lab/edition-node-gulp/blob/master/gulpfile.js#L147-L162).