IDEA - Project files cannot be watched (are they under network mount?)


在64位Linux系统上使用IDEA时遇到如下问题,启动时警告信息
External file changes sync may be slow Project files cannot be watched (are they under network mount?)
命令行启动时警告信息

api.vfs.impl.local.FileWatcher - Project files cannot be watched (are they under network mount?)

此 时如果文件在外部被修改,IDEA不能及时检测到文件被修改,导致当前编辑的文档与实际不符。问题原因是启动脚本目录下有两个fsnotifier文件, 一个后缀为64,表示64位系统使用。IDEA默认只使用fsnotifier,如果系统是64位,则可能出现上面的错误,解决方法是尝试将原 fsnotifier重命名(如加后缀32),然后将fsnotifier64重命名为fsnotifier,重启IDEA。

参考:http://blog.jetbrains.com/idea/2010/04/native-file-system-watcher-for-linux/


免责声明!

本站转载的文章为个人学习借鉴使用,本站对版权不负任何法律责任。如果侵犯了您的隐私权益,请联系本站邮箱yoyou2525@163.com删除。



 
粤ICP备18138465号  © 2018-2025 CODEPRJ.COM