Aqua
 
Get Aqua

File Watchers

Last modified: 16 January 2025

File Watcher is a Aqua tool that allows you to automatically run a command-line tool like compilers, formatters, or linters when you change or save a file in the IDE.

File Watchers have two dedicated code inspections:

  • The File Watcher available inspection is run in every file where a predefined File Watcher is applicable. If the project has no relevant File Watcher configured, Aqua suggests to add one.

  • The File Watcher problems inspection is invoked by a running File Watcher and highlights errors specific to it.

You can use one of the available templates or configure a File Watcher from scratch. A configured File Watcher can be saved in your project settings or in the IDE settings and used in different projects.