Struggling with Slow Asset Updates in Frappe Docker Dev Setup

I’m developing Frappe apps using a .devcontainer setup with Frappe Docker. I’m running the project using bench start.

The issue is: whenever I make changes in example.js (which is included via app_include_js), those changes do not reflect immediately. I have to run bench build every time, and only then the updates appear.

Even though I’ve confirmed that developer_mode is enabled in site_config.json, it’s still not reloading automatically.

Running bench build each time is frustrating because it takes more than 100 seconds to complete. It really slows down development and breaks focus.

Is there any way to improve this workflow? Please help me fix this.

Note:
I’m using frappe 14

This works fine for some cases

image

  • Try in incognito mode