Skip to content
Advertisement

Tag: gulp

`gulp` command doesn’t work as expected on Linux

I am trying to set up the needed environment for a project I am gonna work on. I am not able to run gulp command as expected (as it is told on the getting started page of Gulp). I am using Linux (PopOS) which is based on Ubuntu and Debian. So, I have tried to fix it in the local

How to abort if command fails in Unix shell?

I’m not very great with shell scripting and still couldn’t find a solution to this. I want to run a command gulp tslint and if it returns errors, abort the script. So far I tried gulp tslint || exit 1 with no success. I think it somehow is returning true, even though it has errors when i run it on

Advertisement