Process management for development
Process management for development.
npm install -g dictator
Create a dictator.json in the root of your project
Then run the dictator:
Will do the following:
rails sand logging its output in yellow
If any of the processes quit the others will receive a SIGKILL and dictator will exit.
dictator -e nope
dictator -o yes -o indeed
configdirectory next to your
dictator.jsonand put all configuration in there
statedirectroy next to your
dictator.jsonand configure your services to put all their state (DBs, logs, etc) in there
rm -rf state/*before running the
dictator. Remove the current state and run the dictator. You get it? A coup. Ok, I'm stopping it.