HumanSignal / HumanSignal/label-studio

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

Open
#934 1 comment 0 reactions 1 assignee Claimed by @makseq View on GitHub
need recipes
Dominant language
TypeScript
Stars
28.3k
Forks
3.7k
Avg merge
14h
Merged PRs (30d)
15

Description

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.