Improve LiveReload functionality