Following the steps described in the Visual Studio Code documentation, running the final command dnx . kestrel
via the Command Palette of VSCode on Mac OS X results in an IOException when visiting http://localhost:5001:
kqueue() FileSystemWatcher has reached the maximum nunmber of files to watch.
See the attached screenshot for the complete stacktrace. What could be wrong?
It's a known mono bug. In order to fix it set the MONO_MANAGED_WATCHER
environment variable:
export MONO_MANAGED_WATCHER=false
Source
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With