fix(build): enable hot reloading of linked packages (#16867)
This commit is contained in:
parent
27a40d2a67
commit
9ac55d9afa
|
|
@ -52,6 +52,7 @@ export default function setupColors(
|
|||
extraSequentialColorSchemes: SequentialScheme[] = [],
|
||||
) {
|
||||
registerColorSchemes(
|
||||
// @ts-ignore
|
||||
getCategoricalSchemeRegistry(),
|
||||
[
|
||||
...superset,
|
||||
|
|
@ -66,6 +67,7 @@ export default function setupColors(
|
|||
'supersetColors',
|
||||
);
|
||||
registerColorSchemes(
|
||||
// @ts-ignore
|
||||
getSequentialSchemeRegistry(),
|
||||
[...sequentialCommon, ...sequentialD3, ...extraSequentialColorSchemes],
|
||||
'superset_seq_1',
|
||||
|
|
|
|||
|
|
@ -455,6 +455,7 @@ if (isDevMode) {
|
|||
},
|
||||
static: path.join(process.cwd(), '../static/assets'),
|
||||
};
|
||||
config.watchOptions = { followSymlinks: true };
|
||||
|
||||
// make sure to use @emotion/* modules in the root directory
|
||||
fs.readdirSync(path.resolve(APP_DIR, './node_modules/@emotion'), pkg => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue