Describe the bug
(node:15272) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uncaughtException listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use node --trace-warnings ... to show where the warning was created)
To Reproduce
# open terminal 1
git clone https://github.com/unlight/mochapack-node-playground
cd mochapack-node-playground
git checkout 7dd0b3aff014a97f2fd38d0fce6b809798cb2918
pnpm i
npm run test:w
# switch to terminal 2
sleep 0.2
touch src/index.ts
sleep 0.2
touch src/index.ts
sleep 0.2
touch src/index.ts
sleep 0.2
touch src/index.ts
sleep 0.2
touch src/index.ts
sleep 0.2
touch src/index.ts
sleep 0.2
touch src/index.ts
sleep 0.2
touch src/index.ts
sleep 0.2
touch src/index.ts
echo "check terminal 1"
Environment if relevant (please complete the following information):
- OS: Windows 10
- Node version v16.15.0
- Mochapack version 2.1.4
- Webpack version 5.72.0
Describe the bug
(node:15272) MaxListenersExceededWarning: Possible EventEmitter memory leak detected. 11 uncaughtException listeners added to [process]. Use emitter.setMaxListeners() to increase limit
(Use
node --trace-warnings ...to show where the warning was created)To Reproduce
Environment if relevant (please complete the following information):