javascript - Run a file with arguments using grunt -
i have file called file_1.js accepts argument. run file using
"#casperjs file_1.js myarg"
now have put file run automacitally task. run
"#grunt casperjs" runs file_1.js.
but how pass argument file_1.js , still make run grunt?
you use grunt-casper task if has options need, otherwise use grunt-shell run command.
Comments
Post a Comment