2015-01-18 04:55:44 +08:00
|
|
|
/*
|
|
|
|
MIT License http://www.opensource.org/licenses/mit-license.php
|
|
|
|
Author Tobias Koppers @sokra
|
|
|
|
*/
|
|
|
|
var OldNodeWatchFileSystem = require("./node/OldNodeWatchFileSystem");
|
|
|
|
|
2015-07-13 06:20:09 +08:00
|
|
|
function OldWatchingPlugin() {}
|
2015-01-18 04:55:44 +08:00
|
|
|
module.exports = OldWatchingPlugin;
|
|
|
|
|
|
|
|
OldWatchingPlugin.prototype.apply = function(compiler) {
|
|
|
|
compiler.plugin("environment", function() {
|
|
|
|
compiler.watchFileSystem = new OldNodeWatchFileSystem(compiler.inputFileSystem);
|
|
|
|
});
|
|
|
|
};
|