Skip to content

Connect npm dev server to real device#1699

Merged
WantClue merged 2 commits into
bitaxeorg:masterfrom
mutatrum:npm-dev-server-proxy
Jul 6, 2026
Merged

Connect npm dev server to real device#1699
WantClue merged 2 commits into
bitaxeorg:masterfrom
mutatrum:npm-dev-server-proxy

Conversation

@mutatrum

@mutatrum mutatrum commented May 20, 2026

Copy link
Copy Markdown
Collaborator

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

github-actions Bot commented May 20, 2026

Copy link
Copy Markdown

Test Results

  2 files  ±0    2 suites  ±0   0s ⏱️ ±0s
103 tests ±0  103 ✅ ±0  0 💤 ±0  0 ❌ ±0 
105 runs  ±0  105 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 3fd3391. ± Comparison against base commit e9903b7.

♻️ This comment has been updated with latest results.

@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
@mutatrum mutatrum changed the title Connect local npm server to real device Connect npm dev server to real device Jun 26, 2026

@WantClue WantClue left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice lgtm awesome to test like this

@WantClue WantClue merged commit 0fd0e7a into bitaxeorg:master Jul 6, 2026
4 checks passed
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.

2 participants