fixed file watcher bug closes #252