- write your query in a
query.sql
file - run
when-changed -s query.sql -c "cat query.sql; cat query.sql | bq query --format pretty"
- queries a run on each file save
query.sql
filewhen-changed -s query.sql -c "cat query.sql; cat query.sql | bq query --format pretty"