Avoid reloading on static endpoints in debug mode.