nollup: watch include options does not seem to work with path above
I have the following watch option:
watch: {
clearScreen: false,
include: ['src', path.resolve(__dirname, '../test/dist')],
},
and while it works when I change stuff in src
, it does not when I change stuff in ../test/dist
I also tried without resolve
and same issue.
Is that because nollup will not look in parent folders ?
About this issue
- Original URL
- State: open
- Created 4 years ago
- Comments: 18 (11 by maintainers)
@wighawag I’ve just dropped the link here, that I thought is related - I’m not sure if it will help.
Thanks for the info @bhallstein!
This is probably worth revisiting as I’m sure quite a bit has changed in the meantime since this issue was first raised. Been a bit pre-occupied with life in general lately, but hopefully I can have a look at it soon. 😃
An option for a watch outside
src
dir would be amazing! I need to watchnode_modules/my-component
during development usingnpm link
.Is there a way today, @PepsRyuu?