Re:The popularity of Microsoft’s Surface is the least realis...
by hungerstrike on Wednesday January 17, 2018 @11:27AM
(#16169200)
`&&` works in my NPM scripts on Windows 10.
Here's one line from my current project:
"build-intl": "npm run build-intl-translations && npm run build-intl-locales",
Perhaps this is something that didn't work early on. I've been using Node.js on Windows since before v0.10 and I have had some issues here and there but these days it's a dream.
Re:The popularity of Microsoft’s Surface is the least realis...
by EnderMB on Wednesday January 17, 2018 @12:17PM
(#16169696)
IIRC, Powershell and CMD have different chain syntax, so it depends which one you're running from. If I'm using CMD I can use &&, whereas | works on PS.
I might be wildly wrong on this one, but I'm a big fan of writing "git add . && git commit -m "Commit Message" && git push origin master", and I noticed that in a Powershell window I had to use the vertical bar instead of double-ampersands.
Re:The popularity of Microsoft’s Surface is the least realis...
by hungerstrike on Wednesday January 17, 2018 @02:01PM
(#16170689)
Wow, I have to try that out later. I have always avoided powershell in favor of CMD because I wasn’t sure of what powershell extras would get my way. Seems like this would be one example of that.
Re:The popularity of Microsoft’s Surface is the least realis...
by majewsky on Wednesday January 17, 2018 @07:44AM
(#16167425)
Does Docker work on WSL?
Re:The popularity of Microsoft’s Surface is the least realis...
by nunez on Wednesday January 17, 2018 @08:25AM
(#16167663)
Yes! Sort of. You need Docker for Windows and have to have the DOCKER_HOST of your Linux subsystem be connected to it. But volume mounting doesn't work :( As such, I use an Ubuntu Vagrant box.
That said, I've switched to a WSL environment (native Linux on Windows) and it has handled everything I've thrown at it so far, including make scripts, GUI apps, etc.