Closed chatelp closed 3 years ago
we don't support "webpack", we support chokidar. if you want a bugfix, provide a proper isolated bug
I'm not the developper of webpack, nor browser-sync. I just saw that the error is created by chokidar, when called through webpack->browser-sync->chokidar.
so report this to webpack or browser-sync. chokidar is a low-level library.
^ we need a more low-level reproduction
Yes, I already reported it to browser-sync. Just wanted to notify you at the same time. In any case, found a "solution" to the ENOSPC problem: increasing the inotify limit https://unix.stackexchange.com/questions/13751/kernel-inotify-watch-limit-reached. So it's not exactly a bug in Chokidar, but you should probably handle the promise rejection in this particular case.
Cheers.
thanks
Describe the bug
Getting thousands of
UnhandledPromiseRejectionWarning errors coming from chokidar
when launchingwebpack --watch --config resources/assets/build/webpack.config.js
Versions (please complete the following information):
Additional context