mirror of https://github.com/webpack/webpack.git
				
				
				
			
		
			
	
	
		
			16 lines
		
	
	
		
			435 B
		
	
	
	
		
			JavaScript
		
	
	
	
		
		
			
		
	
	
			16 lines
		
	
	
		
			435 B
		
	
	
	
		
			JavaScript
		
	
	
	
|  | /* | ||
|  | 	MIT License http://www.opensource.org/licenses/mit-license.php
 | ||
|  | 	Author Tobias Koppers @sokra | ||
|  | */ | ||
|  | var OldNodeWatchFileSystem = require("./node/OldNodeWatchFileSystem"); | ||
|  | 
 | ||
|  | function OldWatchingPlugin() { | ||
|  | } | ||
|  | module.exports = OldWatchingPlugin; | ||
|  | 
 | ||
|  | OldWatchingPlugin.prototype.apply = function(compiler) { | ||
|  | 	compiler.plugin("environment", function() { | ||
|  | 		compiler.watchFileSystem = new OldNodeWatchFileSystem(compiler.inputFileSystem); | ||
|  | 	}); | ||
|  | }; |