Procfile for development/production
If you use Procfile in production you might want to have separate Procfile.dev for development. Here is quick tip how to make that less painfull.
Put this in your .zshrc/.bashrc
file
function fm {
if [ -f Procfile.dev ] ; then
foreman start -f Procfile.dev
else
foreman start
fi
}
And then inside project directory just run
$ fm
Written by Tymon Tobolski
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Ruby
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#