Gulp always runs "default" task -
i have simple gulpfile.js file next content:
var gulp = require("gulp"); gulp.task("test", []); gulp.task("default", []);
but when try run "test" task command gulp test
runs "default" task. if remove "default" task says task default not in gulpfile
how can run custom task console?
ok, have realized problem. windows command line doesn't see additional command line arguments, passed gulp. resolve problem need go registry , fix hkey_classes_root\applications\node.exe\shell\open\command
key.
originally value c:\program files (x86)\nodejs\node.exe" "%1"
. need add %*
symbols end of string. thus, our key value should this:
"c:\program files (x86)\nodejs\node.exe" "%1" %*
Comments
Post a Comment