bust cache when loading mainConfig in automigrations

This commit is contained in:
Yann Braga 2023-03-09 08:19:05 +01:00
parent 17a2d4aeed
commit 09d2801be5

View File

@ -30,7 +30,7 @@ export const getStorybookData = async ({
let mainConfig: StorybookConfig;
try {
mainConfig = await loadMainConfig({ configDir });
mainConfig = await loadMainConfig({ configDir, noCache: true });
} catch (err) {
throw new Error(
dedent`Unable to find or evaluate ${chalk.blue(mainConfigPath)}: ${err.message}`