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

Popular posts from this blog

php - Calling a template part from a post -

Firefox SVG shape not printing when it has stroke -

How to mention the localhost in android -