Description
ref: #170 (comment)
The following code causes segmentation fault
import watcher from "@parcel/watcher";
watcher.subscribe(
process.cwd(),
() => {
console.log("src changed");
},
{ ignore: [".git/*"] }
);
Steps to reproduce
- Clone https://github.com/mtsmfm/parcel-watcher-segv
npm install
node index.mjs
Actual result
$ node -v
v22.7.0
$ node index.mjs
[1] 2710 segmentation fault node index.mjs
Expectation
node index.mjs keeps subscribing current dir
Other info
I can reproduce this issue with v2.4.2-alpha.0
Description
ref: #170 (comment)
The following code causes segmentation fault
Steps to reproduce
npm installnode index.mjsActual result
Expectation
node index.mjskeeps subscribing current dirOther info
I can reproduce this issue with v2.4.2-alpha.0