-
Notifications
You must be signed in to change notification settings - Fork 14.5k
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
Superset Frontend hot reloading not working when running docker compose up --build #32178
Comments
Hey @LUUUAN! I'm here to help you with any bugs, questions, or contributions you have. Let's tackle this together while we wait for a human maintainer. I found some similar discussions and issues that might be relevant to your problem:
Regarding the 404 errors for image assets, this can occur if the asset building process is not fully completed. It's recommended to monitor the container logs to confirm when the asset building process is actually finished. Once the complete build process is done, the static assets should be available, and the 404 errors should resolve themselves [4]. For the hot reloading issue, ensure that the To continue talking to Dosu, mention @dosu. Help Dosu learn! Give it feedback: Great Response | Irrelevant Answer | Incorrect Sources | Too Verbose | Hallucination | Other |
+1 |
Port is now |
Wondering how to make it more obvious to avoid confusion. Maybe a note in UPDATING.md, though something more automated could be good. |
I haven't looked, but I wonder if it'd be difficult to do a server/browser redirect from 8088 to 9000, or if that would just cause other issues/confusion. |
Reading through the config, I'm realizing that the intent in the setup is [probably] to use 80 since that's where nginx is configured. Apparently it manages reverse-proxying I'm not sure how I feel about taking over Now realizing that nginx.conf is only used for docker-compose.yml, so it's easy to proxy to 9000 and shouldn't break other things, but will require people to point to the nginx port not superset_app (flask). Anyhow lots of options/tradeoffs here. Maybe the best idea is to always use
|
Bug description
Frontend hot reloading stop working after I pull master latest commit (890186a), changes to frontend code will trigger rebuild but changes won't reflect on web page. Also, access to image assets will raise 404 error unless manually execute
npm install && npm run dev
, not sure if they are related.Reset branch to commit fc8710f solve the issue.
Screenshots/recordings
No response
Superset version
master / latest-dev
Python version
3.9
Node version
16
Browser
Chrome
Additional context
No response
Checklist
The text was updated successfully, but these errors were encountered: