Skip to content

Instantly share code, notes, and snippets.

@albertosouza
Created January 11, 2014 21:16
Show Gist options
  • Save albertosouza/8376966 to your computer and use it in GitHub Desktop.
Save albertosouza/8376966 to your computer and use it in GitHub Desktop.
run-supervision-app.sh to run sails.js with ignore config
#! /bin/bash
# Script to run app.js with supervision and ignore folders
supervisor -i .tmp/,.git/,node_modules/,views/,assets/images/,assets/linker/templates,assets/templates,assets/js/angularjs,assets/angularjs/main.js app.js
#supervisor -i .tmp/,.git/,node_modules/,views/ -- --debug=5555 app.js
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment