Add another usage, then it can work with rails, guard and spring and so on
Merge pull request #7 from doabit/add_config

Add code-based usage, then it can work with rails, guard and spring and so.