use dev mode for require