adding in fixes and test for live reload event