sveltejs / svelte-devtools

A browser extension to inspect Svelte application by extending your browser devtools capabilities
https://chromewebstore.google.com/detail/svelte-devtools/kfidecgcdjjfpeckbblhmfkhmlgecoff
MIT License
1.5k stars 79 forks source link

fix: inject attachment script immediately #147

Closed ignatiusmb closed 1 year ago

ignatiusmb commented 1 year ago

This will ensure that our listener for the emitted dev events are attached before any plugin code executes.

Tested with

Fixes #38