Skip to content

luuhai48/multi-watch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

multi-watch - Run multiple commands in their own window

screenshot

Inspired by https://github.com/cortesi/modd

This cli allow you to run multiple commands at once, and each command will output own their own window.

For Example: when you are developing a web app using golang as backend + svelte as frontend. You will probably like to have one window listen to the backend stuff, and one window outputing for frontend. This cli will help you start all commands at once without the need to create seperate terminal tab, or terminal multiplexer like tmux...

Usage

You can install the binary using:

go install github.com/luuhai48/multi-watch@latest

Then run it.

multi-watch \
  --cmd "go run main.go" \
  --cmd "yarn dev" \
  --cmd "echo 'hello cmd 3'"

Or run directly from github:

go run github.com/luuhai48/multi-watch@latest \
  --cmd "go run main.go" \
  --cmd "yarn dev" \
  --cmd "echo 'hello cmd 3'"

TODOs

  • Fix weird characters at start of command
  • Make window scrollable

About

Run multiple commands at once on their own window

Resources

License

Stars

1 star

Watchers

1 watching

Forks

Packages

 
 
 

Contributors