Class ScriptFileWatchedProcess

java.lang.Object
org.noise_planet.noisemodelling.webserver.script.ScriptFileWatchedProcess
All Implemented Interfaces:
Callable<Boolean>

public class ScriptFileWatchedProcess extends Object implements Callable<Boolean>
Monitors a specified directory and its subdirectories for changes in files. Specifically, watches for creation, deletion, and modification events of files with the `.groovy` extension. It triggers a script reload after a 5-second delay, which is reset if further changes are detected.