4 ms·
"I find a lot of code I want to hotswap runs on DOM ready and assumes that the page has just been loaded." Maybe it would be possible to put all your "setup" c
by wubbfindel 14y ago
"I find a lot of code I want to hotswap runs on DOM ready and assumes that the page has just been loaded."
Maybe it would be possible to put all your "setup" code into a single myscript.load() function and then when you've edited your js in chrome devtools, then call myscript.load() in the console to reboot all your DOM events and so on.
Just an idea, completely not tested.
P.S. Just tried your extension using vim to edit a Sass file, while compass watch is running, and your extension is watching my CSS output directory. Awesome to see changes in vim almost immediately appear in my browser!
EDIT: Formatting. Adding P.S.