This is CLI tool similar to chokidar-cli.
However, this does not run the command immediately if changes happen while the command is running. In that case, this waits for the finish of the previous command then this runs the command.
This will be useful if the command needs a long time.
Usage: warun <FILES> [OPTIONS] -- <COMMAND> [COMMAND_ARGS] Watch files and Run a command. FILES .......... One or more glob patterns to watch files. OPTIONS ........ Options below. COMMAND ........ The command name to run. COMMAND_ARGS ... The arguments of the command.Options: --no-initial .......... The flag to prevent the first run at ready. --debounce <number> ... The debounce wait time in milliseconds.Examples: $ warun lib test -- npm test $ warun src --no-initial -- npm run build