FileSystemWatcher error everytime I save a view

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

Weird, I’m assuming the NRE is on IFile which I’ve guarded against in this commit: https://github.com/ServiceStack/ServiceStack/commit/4ed761970ddff57ba485a601dbece1448ab1b4d6

Can you let me know if the latest v4.0.51 on MyGet resolves the issue?