Hey ServiceStack,
I keep a tail on my log files as I am developing and I recently started seeing this every time I save a view:
2016-01-06 15:42:11.1775 - WARN: FileSystemWatcher_Created error:
EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object.
at ServiceStack.Razor.Managers.RazorViewManager.IsWatchedFile(IVirtualFile file)
at ServiceStack.Razor.Managers.RazorViewManager.AddPage(IVirtualFile file)
at ServiceStack.Razor.Managers.RazorViewManager.AddPage(String filePath)
at ServiceStack.Razor.Managers.FileSystemWatcherLiveReload.FileSystemWatcher_Created(Object sender, FileSystemEventArgs e)
2016-01-06 15:42:11.1936 - WARN: FileSystemWatcher_Created error:
EXCEPTION: System.NullReferenceException: Object reference not set to an instance of an object.
at ServiceStack.Razor.Managers.RazorViewManager.IsWatchedFile(IVirtualFile file)
at ServiceStack.Razor.Managers.RazorViewManager.AddPage(IVirtualFile file)
at ServiceStack.Razor.Managers.RazorViewManager.AddPage(String filePath)
at ServiceStack.Razor.Managers.FileSystemWatcherLiveReload.FileSystemWatcher_Created(Object sender, FileSystemEventArgs e)
Any ideas?
Thanks,
Ryan