You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 20, 2018. It is now read-only.
Running dnx-watch against a simple web application on Mono works fine.
However, given the known limitations of FileSystemWatcher in Mono (dotnet/aspnetcore#508, dotnet/aspnetcore#554) the only way I've managed to run a reasonably sized web application is to set MONO_MANAGED_WATCHER="disabled"
Having this environment variable set appears to disables dnx-watch, however, unsetting the variable produces the following error:
Miguels-MBP:WebApp miguellira$ dnx-watch kestrel[DnxWatcher] info: Running dnx with the following arguments: --project /Users/miguellira/Sandbox/WebApp/project.json kestrel[DnxWatcher] info: dnx process id: 8610/Users/miguellira/.dnx/runtimes/dnx-mono.1.0.0-beta8-15736/bin/dnx: line 9: pwd: write error: Broken pipeSystem.IO.IOException: kqueue() FileSystemWatcher has reached the maximum number of files to watch. at System.IO.KqueueMonitor.Start () in <filename unknown>:line 0 at System.IO.KeventWatcher.StartDispatching (System.IO.FileSystemWatcher fsw) in <filename unknown>:line 0 at System.IO.FileSystemWatcher.Start () in <filename unknown>:line 0 at System.IO.FileSystemWatcher.set_EnableRaisingEvents (Boolean value) in <filename unknown>:line 0 at (wrapper remoting-invoke-with-check) System.IO.FileSystemWatcher:set_EnableRaisingEvents (bool) at Microsoft.Dnx.Watcher.Core.FileWatcher.AddWatcher (System.String path) in <filename unknown>:line 0 at Microsoft.Dnx.Watcher.Core.FileWatcher..ctor (System.String path) in <filename unknown>:line 0 at Microsoft.Dnx.Watcher.Core.DnxWatcher+<>c.<CreateDefault>b__13_0 (System.String root) in <filename unknown>:line 0 at Microsoft.Dnx.Watcher.Core.DnxWatcher+<WaitForProjectFileToChangeAsync>d__7.MoveNext () in <filename unknown>:line 0
Is dnx-watch not recommended for use with Mono until that bug is addressed?