Skip to content

Instantly share code, notes, and snippets.

@stevenharman
Created May 11, 2016 20:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save stevenharman/766ead0ac1dc8e81294e20b96d6568e0 to your computer and use it in GitHub Desktop.
Save stevenharman/766ead0ac1dc8e81294e20b96d6568e0 to your computer and use it in GitHub Desktop.
Use rerun to restart the Sidekiq server, based on your Profile, when a file changes.
rerun --background --dir app,config,db,lib --pattern '{**/*.rb}' -- $(grep 'worker: ' Procfile | sed 's/worker: //')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment