enable calling reloadDev from code.