enable hot reload in dev mode for server