You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm seeing an issue with many of my projects where I save a single .ts file, and web dev server in watch mode restarts multiple times. Investigating the issue, the problem comes down to Typescript takes longer than 100ms between changes when writing the source map files, resulting in multiple reloads:
In the above screenshot, notice there is a > 100ms delay between the change of index.html and the change of pwabuilder-sw.js.map.
If I could control the watch debounce time, it would make my edit->debug->test cycle much smoother.
Would you accept a pull request enabling this?
The text was updated successfully, but these errors were encountered:
in @web/dev-server which is the successor of es-dev-server it's a small plugin you could "fork" in your config and change to whatever logic/value you need
I see there's an internal --watch-debounce internal config field, defaults to 100ms, but this value is not configurable by users.
Can we make this value configurable?
I'm seeing an issue with many of my projects where I save a single .ts file, and web dev server in watch mode restarts multiple times. Investigating the issue, the problem comes down to Typescript takes longer than 100ms between changes when writing the source map files, resulting in multiple reloads:
In the above screenshot, notice there is a > 100ms delay between the change of index.html and the change of pwabuilder-sw.js.map.
If I could control the watch debounce time, it would make my edit->debug->test cycle much smoother.
Would you accept a pull request enabling this?
The text was updated successfully, but these errors were encountered: