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

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -