@@ -12,22 +12,22 @@ import assert from 'node:assert';
1212import fs from 'node:fs/promises' ;
1313import { createRequire } from 'node:module' ;
1414import type ts from 'typescript' ;
15- import { logCumulativeDurations } from '../../tools/esbuild/profiling' ;
1615import {
1716 resetSassWorkerPoolCaches ,
1817 shutdownSassWorkerPool ,
1918} from '../../tools/esbuild/stylesheets/sass-language' ;
2019import { transformSupportedBrowsersToTargets } from '../../tools/esbuild/target' ;
2120import { withNoProgress , withSpinner } from '../../tools/esbuild/utils' ;
22- import type { BuildWatcher } from '../../tools/esbuild/watcher' ;
2321import { deleteOutputDir } from '../../utils/delete-output-dir' ;
2422import { maxWorkers } from '../../utils/environment-options' ;
2523import { assertIsError } from '../../utils/error' ;
2624import { initializeHash } from '../../utils/hash' ;
2725import { toPosixPath } from '../../utils/path' ;
26+ import { logCumulativeDurations } from '../../utils/profiling' ;
2827import { purgeStaleBuildCache } from '../../utils/purge-cache' ;
2928import { getSupportedBrowsers } from '../../utils/supported-browsers' ;
3029import { assertCompatibleAngularVersion } from '../../utils/version' ;
30+ import type { BuildWatcher } from '../../utils/watcher' ;
3131import { WorkerPool } from '../../utils/worker-pool' ;
3232import {
3333 type NormalizedLibraryOptions ,
@@ -156,7 +156,7 @@ export async function* executeLibraryBuilder(
156156 logger . info ( 'Watch mode enabled. Watching for file changes...' ) ;
157157 }
158158
159- const { setupWatcher } = await import ( '../../tools/esbuild /watcher' ) ;
159+ const { setupWatcher } = await import ( '../../utils /watcher' ) ;
160160 watcher = await setupWatcher ( {
161161 workspaceRoot,
162162 projectRoot,
0 commit comments