anki/tools
Aristotelis 2270ff425a
Add dev tools for live-reloading Anki's web views (#2151)
* Add dev tools for live-reloading the web stack while running Anki

* Handle CDP connection errors more graciously

* Include sass in web stack watchers

* Refactor monitored folder and event definition

* Switch to more specific build target

Thanks to @hikaru-y

* Add PyChromeDevTools to dev requirements

* Update rebuild-web for ninja

* Satisfy mypy

* Remove ts-watch

Superseded by web-watch (the version here was also still based around bazel)

* Simplify calls to other build tools

Given that `./ninja qt/aqt` has to be run from the project root anyways, it doesn't make sense to use calls relative to `rebuild-web` in an ill-guided effort to lower dependencies on hard-coded paths.

* Remove remaining script-relative tool path
2023-01-03 11:55:58 +10:00
..
workspace-hack Update incompatible crates 2022-11-30 12:38:10 +10:00
build Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
build.bat Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
copyright_headers.py Add local copy of percent_encoding crate 2022-12-09 11:46:00 +01:00
dmypy Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
ninja.bat Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
rebuild-web Add dev tools for live-reloading Anki's web views (#2151) 2023-01-03 11:55:58 +10:00
reload_webviews.py Add dev tools for live-reloading Anki's web views (#2151) 2023-01-03 11:55:58 +10:00
run-qt5.14 Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
run-qt5.15 Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
run-qt5.15.bat Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
run.py Update dockerfile 2022-11-27 16:45:50 +10:00
runopt Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
setup-env.bat Fix setup-env.bat (#1659) 2022-02-12 10:10:24 +10:00
ts-run Add env var to enable sourcemaps 2022-12-04 11:37:16 +10:00
web-watch Add dev tools for live-reloading Anki's web views (#2151) 2023-01-03 11:55:58 +10:00