source: frontend/node_modules/fork-ts-checker-webpack-plugin/lib/hooks/tapAfterEnvironmentToPatchWatching.js

Last change on this file was 9af201e, checked in by MBK <marija.karapandzova@…>, 12 days ago

Fix frontend appearance

  • Property mode set to 100644
File size: 682 bytes
Line 
1"use strict";
2Object.defineProperty(exports, "__esModule", { value: true });
3const InclusiveNodeWatchFileSystem_1 = require("../watch/InclusiveNodeWatchFileSystem");
4function tapAfterEnvironmentToPatchWatching(compiler, state) {
5 compiler.hooks.afterEnvironment.tap('ForkTsCheckerWebpackPlugin', () => {
6 const watchFileSystem = compiler.watchFileSystem;
7 if (watchFileSystem) {
8 // wrap original watch file system
9 compiler.watchFileSystem = new InclusiveNodeWatchFileSystem_1.InclusiveNodeWatchFileSystem(watchFileSystem, compiler, state);
10 }
11 });
12}
13exports.tapAfterEnvironmentToPatchWatching = tapAfterEnvironmentToPatchWatching;
Note: See TracBrowser for help on using the repository browser.