Anki/scripts/ts-run
Damien Elmes e986304592 replace some bazel-bin references in our scripts
+ fix scripts/mypy-watch, and make it only listen to change events
2022-01-23 20:17:08 +10:00

11 lines
355 B
Bash
Executable file

#!/bin/bash
#
# Start Anki with the data folder pointed at bazel-bin,
# which is useful when developing TS pages on a Mac.
#
# The pages can be accessed by, eg surfing to
# http://localhost:40000/_anki/pages/deckconfig.html
ANKI_DATA_FOLDER=$(pwd)/../bazel/anki/bin/qt/aqt \
QTWEBENGINE_REMOTE_DEBUGGING=8080 \
ANKI_API_PORT=40000 ANKIDEV=1 ./run $*