Skip to content

Instantly share code, notes, and snippets.

@neojp
Created February 16, 2012 19:59
Show Gist options
  • Save neojp/1847429 to your computer and use it in GitHub Desktop.
Save neojp/1847429 to your computer and use it in GitHub Desktop.
Runs a Locomotive app, listens and auto-reloads server if code changes are found.
# node-supervisor: https://github.com/isaacs/node-supervisor
# locomotive: http://locomotivejs.org/
supervisor --watch app/controllers,config,config/environments,config/initializers -- node_modules/locomotive/bin/lcm.js server
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment