Compiling File Watcher
Notice: This article has been deprecated. For the most up-to-date information, please refer to the new page here.
At the moment, JetBrains provides builds of fsnotifier binary only for x86-64 and AArch64 architectures. If you want to use it on some other platform, please compile it yourself:
- Upgrade the IDE to version 2019.3 or newer.
- Make sure you have C compiler and standard library headers/libraries packages installed (on Ubuntu,
sudo apt install libc6-dev gccshould be enough). - Download all
*.hand*.cfiles along withmake.shfrom https://github.com/JetBrains/intellij-community/tree/master/native/fsNotifier/linux, then executemake.shin the directory with downloaded files, optionally setting$CCifclangis not available. - Copy the compiled fsnotifier binary into any location, preferably outside of the IDE installation directory.
- Start the IDE and invoke Help | Edit Custom Properties action (or Configure | Edit Custom Properties from the welcome screen), add the following line, then restart the IDE:
idea.filewatcher.executable.path = /path/to/fsnotifier
You may need to adjust inotify(7) instances and watches limits.
Please sign in to leave a comment.