From 8e2b3ffadcf83dba74d58dbf9ee2c57cef5f1ad5 Mon Sep 17 00:00:00 2001 From: eunhhu Date: Sat, 26 Sep 2026 11:54:31 +0100 Subject: Swap a running app's module: --watch and the swap command vega tui|web MODULE --watch replaces the running app's module when its file is written again (aup watch writes it); states keep their values by name through pure_app_replace and every web page hears of it. The file is compared by the digest of its bytes, at most five times a second, so a module of the same size written within the same second is not missed; a module that does not load leaves the app as it was and is not tried again. Modules alternate between two slots so a failed load never touches the running one. Scripts get swap MODULE; whether a module runs frames is now a property of the screen. --- tests/__pycache__/check.cpython-313.pyc | Bin 0 -> 65599 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 tests/__pycache__/check.cpython-313.pyc (limited to 'tests/__pycache__/check.cpython-313.pyc') diff --git a/tests/__pycache__/check.cpython-313.pyc b/tests/__pycache__/check.cpython-313.pyc new file mode 100644 index 0000000..04b698b Binary files /dev/null and b/tests/__pycache__/check.cpython-313.pyc differ -- cgit v1.2.3