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

Frontend "npx webpack --watch" only reflected on localhost but not 127.0.0.1 #934

Open
amrlafi opened this issue May 18, 2021 · 1 comment
Assignees

Comments

@amrlafi
Copy link

amrlafi commented May 18, 2021

Describe the bug
On local development, Django starts on 127.0.0.1:8080, however npx webpack --watch only respects localhost:8080

To Reproduce
Steps to reproduce the behavior:

  1. Load Label Studio locally python3 label_studio/manage.py runserver, Label Studio will be served on 127.0.0.1:8080
  2. Go to the frontend directory and run npx webpack --watch
  3. Changes in React code will not be reflected until you open label Studio on localhost:8080

Expected behavior
Changes should be also visible on 127.0.0.1:8080

Environment (please complete the following information):

  • OS: Mac OS Big Sur
  • Label Studio Version: 1.0
@makseq
Copy link
Member

makseq commented May 22, 2021

@nicholasrq Have you encountered this?

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

No branches or pull requests

2 participants