Anders Ekdahl
Anders Ekdahl
You could test that it's true by creating a React component with a loop that takes at least a couple of seconds to complete. If you open that page at...
I encountered the same thing while making https://www.npmjs.com/package/karma-common-js, which is basically a fork of karma-commonjs. The issues I had was that since modules were initialized in random order, subtle bugs...
@sergeche How did you fix that? I've just downloaded the plugin (via Package Control) and jump to definition only works if the required file name ends with ".js". So `require("./utils");`...
I have configured the project from that post, but I can't seem to get it to work. My project files tern section looks like this: ``` "ternjs": { "exclude": ["node_modules/**"],...
> Prevent 404s in what way? What would you return instead? By storing old build artifacts in some external storage and fetching it from there in the 404 handler. >...
> When SvelteKit fetches an asset, it will check if the deployed version number has changed. If the version has changed, it performs a full-page reload. That's great to hear,...
It's hard to say, feels like there's a lot of people with slightly different cases in that thread, but it's certainly very similar. > Otherwise, we need a minimal reproduction...
> but that doesn't feel like the right way to address whatever the underlying issue is here. Maybe, but the only way SvelteKit could handle this situation would be to...
A service worker can't itself trigger a reload, it can only send a signal to the main thread to perform the reload. But it would certainly be a cleaner solution...