fix(storybook): ensure watch is passed to angular storybook options (#8800)
This commit is contained in:
parent
5f3ca7892d
commit
19f8813450
@ -262,6 +262,11 @@ export function resolveCommonStorybookOptionMapper(
|
||||
},
|
||||
logger: angularDevkitCompatibleLogger,
|
||||
};
|
||||
|
||||
// Add watch to angularBuilderOptions for Storybook to merge configs correctly
|
||||
storybookOptions.angularBuilderOptions = {
|
||||
watch: true,
|
||||
};
|
||||
} else {
|
||||
// keep the backwards compatibility
|
||||
setStorybookAppProject(context, builderOptions.projectBuildConfig);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user