diff --git a/packages/cli/src/Server.ts b/packages/cli/src/Server.ts index 2ff51e4236f78..fe25646fbec89 100644 --- a/packages/cli/src/Server.ts +++ b/packages/cli/src/Server.ts @@ -355,7 +355,7 @@ export class Server extends AbstractServer { } const maxAge = Time.days.toMilliseconds; - const cacheOptions = inE2ETests ? {} : { maxAge }; + const cacheOptions = inE2ETests || inDevelopment ? {} : { maxAge }; const { staticCacheDir } = Container.get(InstanceSettings); if (frontendService) { const serveIcons: express.RequestHandler = async (req, res) => {