support reloading in dev environments