I'm attempting to run a few commands that never finish. These commands watch a directory and update files when they change. The idea is that I need multiple folders watched by different tools, able to run all of them from a single command.
For normal commands that return as expected, separating the commands with a
ls /; cd /; ls var; cd var; ls log; cd log
When I attempt to chain together non-returning commands (like
tail -f <some_file> or
coffee -c -w <some_coffeescript_folder>, only the first command will run.
Is there a way of doing this in a single command? Here's the commands I'm trying to link together: