refactored livereload
Merge pull request #4 from johnpapa/tests

refactored livereload