christianalfoni / webpack-bin

A webpack code sandbox

Home Page:http://www.webpackbin.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Auto run

raphaelbastide opened this issue · comments

I really like the “Auto run JS” option of JS Bin. It allows the code to be ran automatically during edition. I use it for live design and pedagogic purposes. Did you think about adding such an option in WebpackBin yet?

This is a bit more tricky with Webpackbin because it needs to run the code through the server. As I understand JS Bin it runs the code inside a web worker. So not having NPM and webpack support has some advantages :)

The code can still autorun, but it would feel really sluggish compared to JS Bin I believe.. as everything is happening in the client on JS bin. Makes sense?

Yes it totally makes sense. I think the instantaneous aspect of the execution on Bin is not the more important feature: A more slow but regular execution on Webpackbin (e.g. every seconds), only when the user is active, could be awesome for people like me. But as the keyboard shortcuts are quite handy yet, it would be a bonus.

commented

Throttled auto-save perhaps. It would be amazing feature!