using Rest API to enable/disable live reload