Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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