Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Running first ASP.NET 5 application using VSCode, DNX and kestrel results in IOException

Tags:

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?enter image description here

like image 867
hwschuur Avatar asked Apr 30 '15 15:04

hwschuur


1 Answers

It's a known mono bug. In order to fix it set the MONO_MANAGED_WATCHER environment variable:

export MONO_MANAGED_WATCHER=false 

Source

like image 197
Kyle West Avatar answered Sep 20 '22 11:09

Kyle West