Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[QUESTION]How to use in VSCode Remote? #1158

Open
xmsz-stu opened this issue Nov 27, 2024 · 2 comments
Open

[QUESTION]How to use in VSCode Remote? #1158

xmsz-stu opened this issue Nov 27, 2024 · 2 comments

Comments

@xmsz-stu
Copy link

I use VSCode Remote to connect other computer at 192.168.3.137,
an i start project with mordernjs(use rspack),

➜  main git:(main) ✗ npm run dev

> [email protected] dev
> modern dev

  Modern.js Framework v2.60.6

start   Building...
● web ━━━━━━━━━━━━━━━━━━━━━━━━━ (10%) building javascript/esm|builtin:swc-loader??ruleSet[1].rules[5].use[0]!data:text
 ⚡ Million Lint v1.0.12
 ✓ Ready in 0.09ms

then, in browser's console it shows

...
GET http://localhost:42423/ingest/healthcheck net::ERR_CONNECTION_REFUSED
...

How can i change localhost to 192.168.3.137?

Copy link

Thanks for opening this issue! A maintainer will review it soon.

@xmsz-stu
Copy link
Author

  rspack(configure, { appendPlugins }) {
        appendPlugins(
          MillionLint.rspack({
            ingest: {
              host: '192.168.3.137',
            },
          }),
        );
      },

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant