codegino / svelte-tailwind-chrome-plugin

13 stars 5 forks source link

Issue with service worker waiting #2

Open asmirbe opened 1 year ago

asmirbe commented 1 year ago

Hi, i'm getting service worker loading error, the import 'http://localhost:5173/@vite/env'; url is not loading while seocond one does import 'http://localhost:5173/@crx/client-worker'; image

ratiugtun commented 3 months ago

In my case, I run npm run dev inside node contianer and has similar issue as yours. I fixed it by modified package.json as this:

{
    ...
    "script": {
        "dev": "vite --host 0.0.0.0",
        ...
    }
    ...
}