Run Commands
Run synchronous shell commands from within node
Simple Example
# postinstall.coffee runCommand = require"run-command" runCommand "bower"'install'-> runCommand "gulp"
Slightly more Advanced Example
# start.coffee runCommand = require"run-command" consolelog">> NODE_ENV: " + processenvNODE_ENV runCommand"coffee"'app.coffee' if processenvNODE_ENV == "development" runCommand "gulp"'watch-pre-tasks'-> runCommand"gulp"'watch'
Configuration
runCommandset'info'false # turn off info messages runCommandset'warning'false # turn off warning messages runCommandset'error'false # turn off error messages