Re:Netlify Dev
by larrywright on Tuesday April 09, 2019 @12:54PM
(#19616641)
This looks interesting, but am I the only one turned off by having to ‘npm install’ to try it out?
[ Parent
| on HN ]
Yeah, I wish it were just a docker image up on the hub
Re:Netlify Dev
by hombre_fatal on Tuesday April 09, 2019 @02:11PM
(#19617456)
That "just" is just your favorite alternative to "npm install". There's nothing "just" about it. Like preferring it was a pip or apt install.
Re:Netlify Dev
by larrywright on Tuesday April 09, 2019 @04:36PM
(#19618693)
Sure there is. When I’m done looking at it, I delete the Docker image and it’s gone from my system. That’s more effort with npm.
Also, the docker solution works for everything. So whether it’s a node app, or python, or Go, or Ruby... the process is the same.
Getting a docker image to performantly access a local folder across platforms is a huge challenge.
I love docker but it's just not good enough at handling watched folders.
You could create a Docker image that runs `npm install` and upload it to the hub.
Possibly. The announcement is all about the local version, so there's no way to try that out without installing it locally. However, it's the local version of a product that already exists entirely online with no need to `npm install` anything.