phoenixframework / phoenix_live_reload

Provides live-reload functionality for Phoenix
MIT License
315 stars 90 forks source link

openEditorAtDef and openEditorAtCaller only work once per load in Firefox #152

Open markolson-powerschool opened 6 months ago

markolson-powerschool commented 6 months ago

With PLUG_EDITOR setup and the sample from the README included, jumping to definitions and callers works in Safari and Chrome, but only once per page-load in Firefox.

I've tried to do some debugging in Firefox and see that on reloader.openEditorAt*(e.target);, reloader is still a valid reference, but a breakpoint inside of openEditorAt* is never hit after the first invocation. Even more oddly, a breakpoint in openFullPath is never hit, but we still get the console output of opening full path etc/etc/etc..