3 ms·
For me it’s actually something I built myself, though it will never ever be used by anyone but me probably lol. I build a lot of chrome extensions, and they do
by purple-leafy 2y ago
For me it’s actually something I built myself, though it will never ever be used by anyone but me probably lol.
I build a lot of chrome extensions, and they don’t have a nice dev experience by default. So I use the Vite build tools to introduce a live reload-like functionality while I’m building extensions.
It’s much faster than the default experience, but the setup is too complex for most.
It requires installing an npm script, running it (which runs a web socket), running a Vite build step In watch mode, setting up your folder in a specific manner, installing my extension, and then passing a web socket port number and extension ID to my extension.
Doing all this give make the extension you are developing instant reloads while you code it up in whatever framework you are using (typescript, react, svelte, whatever …)
But it also breaks randomly lol
- alexliu518 2y agoAlthough it is a bit tedious, it is also very valuable if it can solve practical problems. I think if you encounter some problems and solve them, you can share your experience. I believe there must be people who have encountered the same problem as you.