aklinker1 / vite-plugin-web-extension

Vite plugin for developing Chrome/Web Extensions
https://vite-plugin-web-extension.aklinker1.io/
MIT License
574 stars 48 forks source link

js files not being loaded on watch mode #27

Closed jibin2706 closed 2 years ago

jibin2706 commented 2 years ago

I tried running examples from the repo but the js files are giving 404 error (both chrome & firefox).

aklinker1 commented 2 years ago

I'll look into this sometime this week. What OS are you using? Which commands are failing?

jibin2706 commented 2 years ago

I'll look into this sometime this week. What OS are you using? Which commands are failing?

Found the issue, the dev server was running on 3001 but the js file was being fetched with port 3000

aklinker1 commented 2 years ago

Ahh, ok, so you had another application running on 3000, so vite started up on 3001?

jibin2706 commented 2 years ago

Ahh, ok, so you had another application running on 3000, so vite started up on 3001?

yes