summaryrefslogtreecommitdiffhomepage
path: root/packages/kernel/src/file_watcher.cpp
diff options
context:
space:
mode:
authorAdam Malczewski <[email protected]>2026-06-13 22:50:59 +0900
committerAdam Malczewski <[email protected]>2026-06-13 22:50:59 +0900
commit90bd62fac2217f975c1e7ba5224111d9c069f1fc (patch)
tree4214998643a79b44cd03328ad8de6b6eac142ff8 /packages/kernel/src/file_watcher.cpp
parent6b67ae6ac1b8d0d272ddb50e6ef10d08f4fd6628 (diff)
downloadunbox-90bd62fac2217f975c1e7ba5224111d9c069f1fc.tar.gz
unbox-90bd62fac2217f975c1e7ba5224111d9c069f1fc.zip
ext-stage-dock + build: externalize the dock document to assets/ (hot-reloadable)
- The dock's inline kDockRml C++ string is gone; the document now lives in assets/ext-stage-dock/dock.rml (structure) + dock.rcss (styles), loaded via UiSurfaceSpec::rml_path = "ext-stage-dock/dock.rml". The bind_list*/event setup in activate() is unchanged (the substrate re-applies it across hot-reloads). - Build wiring (top-level meson.build): install_subdir the top-level assets/ tree to <datadir>/unbox/<unit>/, and -DUNBOX_ASSET_DIR_DEFAULT=<prefix>/<datadir>/unbox so an installed unbox finds its assets with no env. Dev runs set UNBOX_ASSET_DIR=<repo>/assets + UNBOX_DEV=1 to read the source tree and arm the hot-reload watcher. Real-seat verified: editing dock.rcss (border-radius 10dp<->70dp) updates the live dock with NO recompile and NO restart. ext-stage-dock 2/2 green on build + build-asan. Design iteration on the dock is now edit-a-file.
Diffstat (limited to 'packages/kernel/src/file_watcher.cpp')
0 files changed, 0 insertions, 0 deletions