watchpack
watchpack copied to clipboard
Wrapper library for directory and file watching.
Solves #231 and updates the README to match. Next.js depends on this package, and this would make development much nicer (https://github.com/vercel/next.js/issues/53175).
## Feature request Watchpack `followSymlinks` option always resolves the directory / file paths to _final_ link target. This can create unwanted side-effects if the target is outside of the watched...
I run `webpack --watch --watch-options-stdin ...` and amidst its _initial_ build (not the subsequent builds triggered by changed files), it prints: ``` Watchpack Error (initial scan): Error: EACCES: permission denied,...
Fixes the bug described in https://github.com/webpack/watchpack/issues/228. Verified by checking that the example posted in the original issue works now, `null` is not returned, and by adding a test that failed...
The following example is case-sensitive! Given a file `b.tsx`: ```js export default () => ABCDEF ``` Being imported in `a.tsx` with the wrong casing: ```js import B from './B'; export...
This is the confluence of a few different things that ultimately leads to watchpack blocking the process for long periods of time on osx. ### 1. `FSWatcher.close` is slow Closing...
The error is caused by a specific alias config of webpack, considering the following example: ```js // webpack.config.js module.exports = { resolve: { alias: { "@/foo": ["src/foo/index", "src/foo"] } }...
This is the same issue reported in #44 When in watch mode, if a file is busy when attempting to emit to it, watch stops functioning. [webpack-cli] [Error: EBUSY: resource...
On OpenBSD, with both node v16.14.2 and v12.22.6, webpack does not recompile when files are changed. It used to work when chokidar was used for file watching, i.e. before watchpack...
testing alternative to https://github.com/webpack/watchpack/pull/215