diff --git a/qt/dmypy-watch.sh b/qt/dmypy-watch.sh new file mode 100755 index 000000000..d5e2b3a00 --- /dev/null +++ b/qt/dmypy-watch.sh @@ -0,0 +1,13 @@ +#!/bin/bash +# +# semi-working support for mypy daemon +# - install fs_watch +# - build anki/aqt wheels first +# - create a new venv and activate it +# - install the wheels +# - then run this script from this folder + +(sleep 1 && touch aqt) +. ~/pyenv/bin/activate +fswatch -o aqt | xargs -n1 -I{} sh -c 'printf \\033c; dmypy run aqt' +