Instantly share code, notes, and snippets.
save this as "build.js" in the root folder of your project (with your "gruntfile.js"). then you call call any of your tasks or aliases but doing something like:
node build cssmin
or to call multiple tasks at once:
node build less concat cssmin
the default task is "build", so calling:
with no arguments will run the "build" alias. if you don't have an alias named "build", you may want to change line 5 of this script accordingly.