Child pages
  • Compiling File Watcher
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

(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.

  • No labels