parcel-bundler / watcher

👀 A native C++ Node module for querying and subscribing to filesystem events
MIT License
661 stars 45 forks source link

When using Watchman on Windows, a console window pops up when subscribing #155

Open felipecrs opened 1 year ago

felipecrs commented 1 year ago

This causes a bad UX for Electron apps relying on it:

https://github.com/parcel-bundler/watcher/assets/29582865/ef6659b8-31cb-4903-a56b-7b9175a5283e

As you can see, Terminal pops up two times very quickly (when using Windows 11 with Terminal as default console), otherwise conhost.exe pops up instead.

felipecrs commented 1 year ago

If needed, I can provide a reproduction repository.