News for hackers. Stuff that matters.
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?
Re:Netlify Dev by sjbrown on Tuesday April 09, 2019 @01:12PM (#19616820)
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.

Re:Netlify Dev by tln on Tuesday April 09, 2019 @11:23PM (#19621525)
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.

Re:Netlify Dev by sergiodxa on Tuesday April 09, 2019 @02:46PM (#19617783)
You could create a Docker image that runs `npm install` and upload it to the hub.
Re:Netlify Dev by otab111 on Tuesday April 09, 2019 @01:47PM (#19617224)
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.