mirror of
https://github.com/storybookjs/storybook.git
synced 2025-03-16 05:03:11 +08:00
bust cache when loading mainConfig in automigrations
This commit is contained in:
parent
17a2d4aeed
commit
09d2801be5
@ -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}`
|
||||
|
Loading…
x
Reference in New Issue
Block a user