Skip to content

Instantly share code, notes, and snippets.

@neojp
Created February 16, 2012 19:59
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • 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