emeraldwalk / vscode-runonsave

Visual Studio Code extension to run commands whenever a file is saved.
Apache License 2.0
182 stars 57 forks source link

Local gulp not found #14

Closed Robouste closed 5 years ago

Robouste commented 7 years ago

Hi,

Trying to automate the sass compilation but I get this message :

Running on save commands...
*** cmd start: gulp --no-color sass
[14:59:42] Local gulp not found in C:\Program Files (x86)\Microsoft VS Code
[14:59:42] Try running: npm install gulp

gulp --no-color sass works fine when done manually.

Gulp is installed globally

bmingles commented 7 years ago

If I had to guess vscode may not be aware of whatever environment variables make it globally visible. You could try where gulp to find the full path of the executable and then attempt using that.

Robouste commented 7 years ago

where is a linux command no ? I'm on windows

bmingles commented 7 years ago

which is the linux command. I believewhere has been available on Windows for quite some time.

bmingles commented 5 years ago

Closing as this seems to be an environment specific issue.