Skip to content

Connect local npm server to real device#1699

Open
mutatrum wants to merge 1 commit into
bitaxeorg:masterfrom
mutatrum:npm-dev-server-proxy
Open

Connect local npm server to real device#1699
mutatrum wants to merge 1 commit into
bitaxeorg:masterfrom
mutatrum:npm-dev-server-proxy

Conversation

@mutatrum
Copy link
Copy Markdown
Collaborator

@mutatrum mutatrum commented May 20, 2026

This makes it possible to run a local dev environment against a real device. It also supports hot module replacement, but that's limited in Angular 18.

Run with:
/main/http_server/axe-os$ BITAXE_IP=x.x.x.x npm run start:proxy

It starts a locally hosted front-end on localhost:4200 which connects to an actual device on the specified IP address:

image

This makes it possible to run a local dev environment against a real device. It also supports hot module replacement, but that's limited in Angular 18.

Run with:
`/main/http_server/axe-os$ BITAXE_IP=x.x.x.x npm run start:proxy`
@github-actions
Copy link
Copy Markdown

Test Results

 2 files  ±0   2 suites  ±0   0s ⏱️ ±0s
88 tests ±0  88 ✅ ±0  0 💤 ±0  0 ❌ ±0 
90 runs  ±0  90 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 20c7d12. ± Comparison against base commit 7ab1024.

@mutatrum mutatrum changed the title Add proxy support to local npm server. Connect local npm server to real device May 21, 2026
@mutatrum mutatrum added the testing Addition or modification to the self-test or other test related code label May 21, 2026
@mutatrum mutatrum added this to the 2.15.0 milestone May 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testing Addition or modification to the self-test or other test related code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant