Changes in Frontend Code Not Reflecting in Local Deployment #2499

Closed
opened 2026-02-21 17:46:29 -05:00 by yindo · 0 comments
Owner

Originally created by @chiragksharma on GitHub (Apr 23, 2024).

Self Checks

  • This is only for bug report, if you would like to ask a quesion, please head to Discussions.
  • I have searched for existing issues search for existing issues, including closed ones.
  • I confirm that I am using English to submit this report (我已阅读并同意 Language Policy).
  • Pleas do not modify this template :) and fill in all the required fields.

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

  1. Start the frontend and backend using npm run dev as per the documentation.
  2. Make changes to any frontend file (e.g., modify text in a component).
  3. Save the file.

✔️ 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.

Originally created by @chiragksharma on GitHub (Apr 23, 2024). ### Self Checks - [X] This is only for bug report, if you would like to ask a quesion, please head to [Discussions](https://github.com/langgenius/dify/discussions/categories/general). - [X] I have searched for existing issues [search for existing issues](https://github.com/langgenius/dify/issues), including closed ones. - [X] I confirm that I am using English to submit this report (我已阅读并同意 [Language Policy](https://github.com/langgenius/dify/issues/1542)). - [X] Pleas do not modify this template :) and fill in all the required fields. ### 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](https://docs.dify.ai/getting-started/install-self-hosted/local-source-code) ## Steps to Reproduce 1. Start the frontend and backend using `npm run dev` as per the documentation. 2. Make changes to any frontend file (e.g., modify text in a component). 3. Save the file. ### ✔️ 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.
yindo closed this issue 2026-02-21 17:46:29 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#2499