first implementation of the LiveReload, it works but it needs improvements