Sunday 15 July 2012

gruntjs - Get changed file path via Grunt and use it to pass as an argument for another task -



gruntjs - Get changed file path via Grunt and use it to pass as an argument for another task -

it's interesting how can file path file has changed via grunt. utilize lastly changed file argument task.

actually want file path , send grunt-shell x [filename] command.

i've done working solution gruntfile: https://gist.github.com/nikoloza/515f4d4cac656cbe2594

someone may find useful.

gruntjs grunt-contrib-watch

No comments:

Post a Comment