Re:Ask HN: What's the most productive development environmen...
by xxxdarrenxxx on Saturday June 09, 2018 @06:28PM
(#17275371)
http://brackets.io/ has a live view for basic html and css.
There's a package for the nodejs ecosystem called "nodemon" https://github.com/remy/nodemon
That restarts the webserver on filechanges automatically.
The former is very basic and I don't really use it, but nodemon is quite nifty.
Re:Ask HN: What's the most productive development environmen...
by Zak on Saturday June 09, 2018 @07:11PM
(#17275507)
Reload-on-change is a relatively common feature. While a lot of modern web programming frameworks and libraries don't rely heavily on in-memory state, this is very much a different experience from having your editor constantly communicating with a live process.
Need to look up function args or a docstring? It doesn't have a separate thing that statically analyzes the code. It asks the running process. Want to see what an updated function outputs? It can use the state of the running process. Trying out some other change? It doesn't have to reload anything, lose or persist state, etc... it just updates the running process and you go from there. Want that running process to be on a remote server? An Android device? A page running in a web browser? Your powerful desktop while you work from a small laptop while lying in your hammock? No problem.
I don't understand why this hasn't caught on to the same degree with other languages. Most of them have REPLs and introspection tools, so they could behave this way.