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
While editing an API route and changing its contents works, if there is a module loaded in that API route that gets changed, the contents won't change.
Type of Change
Bug
Summary
While editing an API route and changing its contents works, if there is a module loaded in that API route that gets changed, the contents won't change.
api-routes-full-live-reloading-broken.mov
Details
This seems to be an ESM related caching issue, similar to the one we ran into when implementing the same feature for SSR pages, since we are using
import
programmatically for API routes tooIt seems like we'll have to do some sort of Workers related work around here as well, at least until a more robust ESM cache busting solution is available in NodeJS.
The text was updated successfully, but these errors were encountered: