Child pages
  • Compiling File Watcher

Versions Compared


  • This line was added.
  • This line was removed.
  • Formatting was changed.

(TBD)At the moment, JetBrains provides builds of fsnotifier binary only for x86 and x86-64 architectures. If you want to use it on some other platform, please compile it yourself:

  1. Make sure you have C compiler and C headers/libraries packages installed (on Ubuntu, `sudo `sudo apt install libc6-dev gcc` gcc` should be enough).
  2. Upgrade the IDE to version 2019.3 or newer.
  3. Download all '*.h', ' and *.c', and ' files along with' files from and , then execute `sh` sh in the directory with downloaded files.
  4. Copy the compiled 'fsnotifier-$ARCH' <ARCH> binary into the 'bin/' directory of your IDE (here, '$ARCH' where <ARCH> is the output of `uname `uname -m` m` on your system).
  5.  Adjust inotify(7) instances and watches limits.
  6. Start the IDE and invoke "Help | Edit Custom Properties" action (or Configure | Edit Custom Properties from the welcome screen) and , add the following line, then restart the IDE:
    idea.filewatcher.executable.path = fsnotifier-$ARCH<ARCH>

Alternatively, you may copy the compiled file to any location outside the IDE and specify a full path to it in the `ideathe idea.filewatcher.executable.path` path line (handy when you have may be convenient when there are more than one IDE installed on your the system).

You may need to adjust inotify(7) instances and watches limits.