Skip to main content

mantil watch

Watches for file changes and automatically deploy them

This command will start a watcher process that listens to changes in any *.go files in the project directory and automatically deploys changes to the stage.

You can set a method to invoke after every deploy using the --method and --data options. Or run tests after every deploy with --test options.


  mantil watch [options]


  -d, --data string     Data for the method invoke request
-m, --method string Method to invoke after deploying changes
-s, --stage string Project stage to target instead of default
-t, --test Run tests after deploying changes


      --help       Show command help
--no-color Don't use colors in output