Closed jbraekr closed 6 years ago
That's a pretty cool idea, I will test it out.
I tested this out and it's OK, but has a few major issues:
You can achieve it with a very minimal node.js script on top of budo:
https://gist.github.com/mattdesl/c11a4cebd7fa160cbb610251678d0b9f
Going to close since I think this issue is mostly resolved.
Chrome dev tools have their own editor with life reload. That works also with external files, if they are associated with a file on the file system. So saving a file with an ide triggers chromes inbuild life reload. If budo would save its bundle, it could be associated and chrome could use its own life-reload.
Chrome life-reloads functions, keeping all data and stack intact. Which is sometimes usefull. Break at a regex and fiddle with it with the current data.