diff --git a/libs/native-federation/src/builders/build/builder.ts b/libs/native-federation/src/builders/build/builder.ts index f9a6a16..b6351e5 100644 --- a/libs/native-federation/src/builders/build/builder.ts +++ b/libs/native-federation/src/builders/build/builder.ts @@ -284,7 +284,7 @@ export async function* runBuilder( yield output; } - if (!first && nfOptions.dev) { + if (!first && (nfOptions.dev || watch)) { setTimeout(async () => { await buildForFederation(config, fedOptions, externals); logger.info('Done!');