Skip to content
This repository was archived by the owner on Aug 7, 2021. It is now read-only.

Commit efe9b61

Browse files
committed
fix: don't provide fake paths to the {N} CLI - relative to the app folder
1 parent 545290d commit efe9b61

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

Diff for: plugins/WatchStateLoggerPlugin.ts

+1-6
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,9 @@ export class WatchStateLoggerPlugin {
3636
.keys(compilation.assets)
3737
.filter(assetKey => compilation.assets[assetKey].emitted);
3838

39-
// provide fake paths to the {N} CLI - relative to the 'app' folder
40-
// in order to trigger the livesync process
41-
const emittedFilesFakePaths = emittedFiles
42-
.map(file => join(compiler.context, file));
43-
4439
process.send && process.send(messages.compilationComplete, error => null);
4540
// Send emitted files so they can be LiveSynced if need be
46-
process.send && process.send({ emittedFiles: emittedFilesFakePaths, webpackRuntimeFiles: runtimeOnlyFiles }, error => null);
41+
process.send && process.send({ emittedFiles, webpackRuntimeFiles: runtimeOnlyFiles }, error => null);
4742
});
4843
}
4944
}

0 commit comments

Comments
 (0)