0b8ae7225a
@hgiesel if you're not already doing something like this, you might find this useful
13 lines
314 B
Bash
Executable File
13 lines
314 B
Bash
Executable File
#!/bin/bash
|
|
#
|
|
# Monitor the ts folder and rebuild aqt's data each time
|
|
# it changes, for testing pages locally.
|
|
#
|
|
# On a Mac, useful to combine with ts-run.
|
|
|
|
# run once at startup
|
|
cmd='printf \\033c\\n; bazel build qt:runanki'
|
|
sh -c "$cmd"
|
|
|
|
# then monitor for changes
|
|
fswatch -r -o ts | xargs -n1 -I{} sh -c "$cmd" |