Created
October 30, 2020 02:40
-
-
Save patricksimpson/0422226788d080fe49c7636566aeed31 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
dir=app | |
files=*.js | |
output=dist.js | |
find $dir/$files -exec cat {} \; > $output | |
while true; do | |
watch -d -g ls -lR $dir/$files | |
find $dir/$files -exec cat {} \; > $output | |
sleep 1 | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment