Added workaround for osx filewatcher