fixed bug to do with file watcher not kicking in for empty folders