Compiling File Watcher
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 gcc should be enough).
- Download all *.h and *.c files along with make.sh from <https://github.com/JetBrains/intellij-community/tree/master/native/fsNotifier/linux>, then execute make.sh in the directory with downloaded files, optionally setting $CC if clang is 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.