From d6f3250a77b4c73f3369ca6551ba6c464e8901e2 Mon Sep 17 00:00:00 2001 From: giles Date: Wed, 4 Mar 2026 08:37:29 +0000 Subject: [PATCH] Fix dev_watcher sentinel path for container permissions The sentinel was written to shared/_reload_sentinel.py but shared/ is volume-mounted as root:root, so appuser can't create files there. Move sentinel to /app/_reload_sentinel.py which is owned by appuser and still under Hypercorn's --reload watch path. Co-Authored-By: Claude Opus 4.6 --- shared/dev_watcher.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shared/dev_watcher.py b/shared/dev_watcher.py index ff31297..af9e2d4 100644 --- a/shared/dev_watcher.py +++ b/shared/dev_watcher.py @@ -13,7 +13,7 @@ import time import sys WATCH_EXTENSIONS = {".sx", ".sx", ".js", ".css"} -SENTINEL = os.path.join(os.path.dirname(__file__), "_reload_sentinel.py") +SENTINEL = "/app/_reload_sentinel.py" POLL_INTERVAL = 1.5 # seconds