HumanSignal / label-studio

Label Studio is a multi-type data labeling and annotation tool with standardized output format
https://labelstud.io
Apache License 2.0
18.42k stars 2.31k forks source link

How to apply frontend changes in this project? #5518

Open ntlm1686 opened 7 months ago

ntlm1686 commented 7 months ago

I have modified the files under web/libs/editor/src/common, and expect to see some changes on the web.

Following the README files, what I have tried is to:

  1. Rerun
    python label_studio/manage.py migrate
    python label_studio/manage.py collectstatic
    python label_studio/manage.py runserver
  2. Run
    yarn ls:watch
    # and
    yarn lsf:watch

However, these commands seem didn't update my modification to the frontend page.

zoooooway commented 6 months ago

If you change the datamanager project, you also need to run yarn dm: watch. Alternatively, as a better option, simply run yarn watch without running any other xx:watch commands. Additionally, you also need to refresh the browser page.

wangtender commented 5 months ago

请问解决了么