Child pages
  • Compiling File Watcher

Versions Compared

Key

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

(TBD)

 

  1. Make sure you have C compiler and C headers/libraries packages installed (on Ubuntu, `sudo apt install libc6-dev gcc` should be enough).
  2. Download all '*.h', '*.c', and 'make.sh' files from https://github.com/JetBrains/intellij-community/tree/master/native/fsNotifier/linux and execute `sh make.sh` in the directory with downloaded files.
  3. Copy the compiled 'fsnotifier-$ARCH' binary into the 'bin/' directory of your IDE (here, '$ARCH' is the output of `uname -m` on your system).
  4. todo 'inotify' settings
  5. Start the IDE and invoke "Help | Edit Custom Properties" action (or Configure | Edit Custom Properties from the welcome screen) and add the following line: `idea.filewatcher.executable.path = fsnotifier-$ARCH`, then restart the IDE.

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