-
-
Notifications
You must be signed in to change notification settings - Fork 18
Open
Labels
Description
Hi Reddec,
It would be interesting to automatically restart a service application when a file is modified or if there are changes in a directory or its subdirectories:
Example file watch:
monexec ... --watch ./app.js
Example folder watch
monexec ... --watch ./code
and in the YAML file
services:
- label: Netcat Sample Service
command: nc args: - -l - "9000"
stop_timeout: 5s
restart_delay: 5s
watch: ./app.js
Potentially in the future, there could be extensions, like "files to ignore"
Regards,
Tim
Reactions are currently unavailable