A utility tool that executes arbitrary commands along with file changes, inspired by nodemon.
It is written on Go and can be used immediately after downloading regardless of dependency. See Lily Strag.
climon -path='./tmp' -- echo Changed
Example: When developing CLI in Go language
climon -path='./' -- go run main.go
Example: When developing CLI with Create-ink-app
create-ink-app my-app
climon -path='./' -- my-app
By detecting files, the specified command is automatically executed, making it convenient to develop while checking the operation.
argument | IsRequired | Description | default |
---|---|---|---|
-path | Yes | watch directory | |
-err | No | True: Output error/False: Do not output error | true |
-stdo | No | True: Output standard output/False: Do not output standard output | true |
-- <command arg...> | No | Process to execute when the change is detected | true |
This tool has been performing many times while developing the CLI of another project and wanting the automatic re-running function of nodemon
andCreate-React-app
during the web development.is.