by swah · 12y ago · 0 comments
I'm looking for a way to start nginx/sass watcher/js builder/web app in a split screen, and also stop them all with one command (which would send ctrl-c to all windows). Now I just use tabs (OSX).
The only sort of problem with it is that the output gets merged with each other. You can quite easily figure out what is what though.
Ctrl-c worked like I was running a single app:
16:44:33 scss | QUIT
16:44:33 webpack | QUIT
16:44:33 nginx | QUIT
16:44:33 go | QUIT
This was better than expected! I suppose tmux will be preferable if one of the apps is slow to start and must be killed individually.