Rebrand sexp → sx across web platform (173 files)
Rename all sexp directories, files, identifiers, and references to sx. artdag/ excluded (separate media processing DSL). Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
"""Watch non-Python files and trigger Hypercorn reload.
|
||||
|
||||
Hypercorn --reload only watches .py files. This script watches .sexp,
|
||||
.sexpr, .js, and .css files and touches a sentinel .py file when they
|
||||
Hypercorn --reload only watches .py files. This script watches .sx,
|
||||
.sx, .js, and .css files and touches a sentinel .py file when they
|
||||
change, causing Hypercorn to restart.
|
||||
|
||||
Usage (from entrypoint.sh, before exec hypercorn):
|
||||
@@ -12,7 +12,7 @@ import os
|
||||
import time
|
||||
import sys
|
||||
|
||||
WATCH_EXTENSIONS = {".sexp", ".sexpr", ".js", ".css"}
|
||||
WATCH_EXTENSIONS = {".sx", ".sx", ".js", ".css"}
|
||||
SENTINEL = os.path.join(os.path.dirname(__file__), "_reload_sentinel.py")
|
||||
POLL_INTERVAL = 1.5 # seconds
|
||||
|
||||
@@ -33,7 +33,7 @@ def _collect_mtimes(roots):
|
||||
|
||||
|
||||
def main():
|
||||
# Watch /app/shared and /app/<service>/sexp plus static dirs
|
||||
# Watch /app/shared and /app/<service>/sx plus static dirs
|
||||
roots = []
|
||||
for entry in os.listdir("/app"):
|
||||
full = os.path.join("/app", entry)
|
||||
|
||||
Reference in New Issue
Block a user