File tree 3 files changed +6
-0
lines changed
packages/angular_devkit/build_angular/src
3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -33,6 +33,7 @@ export async function* runEsBuildBuildAction(
33
33
deleteOutputPath ?: boolean ;
34
34
poll ?: number ;
35
35
signal ?: AbortSignal ;
36
+ preserveSymlinks ?: boolean ;
36
37
} ,
37
38
) : AsyncIterable < ( ExecutionResult [ 'outputWithFiles' ] | ExecutionResult [ 'output' ] ) & BuilderOutput > {
38
39
const {
@@ -48,6 +49,7 @@ export async function* runEsBuildBuildAction(
48
49
projectRoot,
49
50
workspaceRoot,
50
51
progress,
52
+ preserveSymlinks,
51
53
} = options ;
52
54
53
55
if ( deleteOutputPath && writeToFileSystem ) {
@@ -79,6 +81,7 @@ export async function* runEsBuildBuildAction(
79
81
watcher = createWatcher ( {
80
82
polling : typeof poll === 'number' ,
81
83
interval : poll ,
84
+ followSymlinks : preserveSymlinks ,
82
85
ignored : [
83
86
// Ignore the output and cache paths to avoid infinite rebuild cycles
84
87
outputPath ,
Original file line number Diff line number Diff line change @@ -72,6 +72,7 @@ export async function* buildApplicationInternal(
72
72
} ,
73
73
{
74
74
watch : normalizedOptions . watch ,
75
+ preserveSymlinks : normalizedOptions . preserveSymlinks ,
75
76
poll : normalizedOptions . poll ,
76
77
deleteOutputPath : normalizedOptions . deleteOutputPath ,
77
78
cacheOptions : normalizedOptions . cacheOptions ,
Original file line number Diff line number Diff line change @@ -39,11 +39,13 @@ export function createWatcher(options?: {
39
39
polling ?: boolean ;
40
40
interval ?: number ;
41
41
ignored ?: string [ ] ;
42
+ followSymlinks ?: boolean ;
42
43
} ) : BuildWatcher {
43
44
const watcher = new FSWatcher ( {
44
45
usePolling : options ?. polling ,
45
46
interval : options ?. interval ,
46
47
ignored : options ?. ignored ,
48
+ followSymlinks : options ?. followSymlinks ,
47
49
disableGlobbing : true ,
48
50
ignoreInitial : true ,
49
51
} ) ;
You can’t perform that action at this time.
0 commit comments