 
                PathWatcher
This mod only works on Fabric and is not compatible with Forge!
PathWatcher is a server-side addon that automatically restarts the server when changes are detected in specified folders. This is particularly convenient for developers and administrators who need to automate the server update process after making edits to configuration files or mods.
To get started, simply install the mod and run the server — the configuration file will be created automatically.
Settings
You can configure the following parameters:
- Selection of folders or files to monitor for changes
- Delay time before server shutdown or restart
- Command executed after server shutdown (use an empty string ""for simple shutdown)
Configuration Example
# Restart server one minute after changes in mods or config folders folders: - "mods" - "config" # Time is specified in milliseconds restart_delay: 60000 # For Windows use start.bat; this should be the file created by Fabric Server Installer restart_script: "./start.sh"
