jss
jss copied to clipboard
Allow the tab to be reloaded from the JSS Browser buffer
It would be nice to have a button for reloading things in tabs, so the *JSS Browser @127.0.0.1:9222
showed the following:
B9727C08-E0C4-12C9-C7FA-B912B24F721E.Google - https://www.google.co.uk/webhp?sourceid=chrome-instant&ion=1&ie=UTF-8
[ open console ] [ reload ]
It would be brilliant to have an explicit 'reload CSS' button too.
I've had a look at writing a patch, but I'm struggling to find my way around the jss
codebase. I can add buttons to jss-browser-mode-refresh
with jss-insert-button
, but that's expecting a command rather than a function. There's jss-console-reload-page
and jss-tab-reload
. I think jss-tab-reload
is what I want, but I can't see how to tell jss-insert-button
to pass the tab to jss-tab-reload
.
Any tips? Is this a feature you'd be willing to accept, in principle?