Skip to content

feat: add front hot-reload development mode#232

Open
Alex-Arsys wants to merge 1 commit into
mainfrom
feat/front-hot-reload
Open

feat: add front hot-reload development mode#232
Alex-Arsys wants to merge 1 commit into
mainfrom
feat/front-hot-reload

Conversation

@Alex-Arsys

Copy link
Copy Markdown

Adds source-mode serving for web-apps and sdkjs so UI changes are visible with a browser reload (no grunt build). Includes auto-reload via a livereload server for web-apps (polling mode, reliable on WSL/Windows).

  • develop/Makefile: add front-dev, front-prod, front-dev-live, sdkjs-dev targets with SDK sentinel guard, nginx validate-before-swap with rollback to .prod.bak, and automatic npm ci bootstrap on first run
  • develop/setup/ds-docservice-dev.conf: nginx dev config serving web-apps and sdkjs from source (/develop), livereload injection via sub_filter, service worker neutralised, graceful fallback when livereload server is not running
  • develop/setup/livereload-tools/: Node livereload server (polling 1s) with versioned lockfile for reproducible installs across machines

Adds source-mode serving for web-apps and sdkjs so UI changes are visible
with a browser reload (no grunt build). Includes auto-reload via a livereload
server for web-apps (polling mode, reliable on WSL/Windows).

- develop/Makefile: add front-dev, front-prod, front-dev-live, sdkjs-dev targets
  with SDK sentinel guard, nginx validate-before-swap with rollback to .prod.bak,
  and automatic npm ci bootstrap on first run
- develop/setup/ds-docservice-dev.conf: nginx dev config serving web-apps and
  sdkjs from source (/develop), livereload injection via sub_filter, service
  worker neutralised, graceful fallback when livereload server is not running
- develop/setup/livereload-tools/: Node livereload server (polling 1s) with
  versioned lockfile for reproducible installs across machines

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Signed-off-by: Alex Hernández <ahmartin@arsys.es>
@Alex-Arsys Alex-Arsys force-pushed the feat/front-hot-reload branch from 6560c23 to b509578 Compare June 23, 2026 11:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: 📄 To do

Development

Successfully merging this pull request may close these issues.

1 participant