Changes in Frontend Code Not Reflecting in Local Deployment #3737
Replies: 3 comments 2 replies
-
It sounds like you're encountering issues with hot reloading not reflecting changes in your local deployment when using
These steps are designed to address common issues with hot reloading in a Docker environment and with Next.js projects. If you've gone through these and the problem persists, it might be worth consulting the Next.js community for more specific advice, given the project's reliance on Next.js for frontend development.
|
Beta Was this translation helpful? Give feedback.
-
Do you mean the hot reload feature in local dev development?
I am pretty sure, the changes will take effect in our dev environment otherwise we will not be able to code as well. Addintionally, If you need to make changes to see if it's worked. You just need to follow the instructions above this section. https://docs.dify.ai/getting-started/install-self-hosted/local-source-code#deploy-the-frontend-page |
Beta Was this translation helpful? Give feedback.
-
Maybe this can help you #3986 (comment) |
Beta Was this translation helpful? Give feedback.
-
Self Checks
Dify version
0.6.0
Cloud or Self Hosted
Self Hosted (Docker), Self Hosted (Source)
Steps to reproduce
Description
I am experiencing an issue where changes made to the frontend code are not automatically reflecting in the local deployment when using
npm run dev
. This issue occurs even after saving the modified files.I followed all the steps to start the local deployment as mentioned in the Docs
Steps to Reproduce
npm run dev
as per the documentation.✔️ Expected Behavior
The changes should automatically reflect in the local deployment when hit save
❌ Actual Behavior
Changes are not appearing in the local deployment even when I restart the deployment or manually refresh the browser.
Beta Was this translation helpful? Give feedback.
All reactions