mirror of https://github.com/webpack/webpack.git
				
				
				
			Merge pull request #2212 from FredyC/plugin-invalid-changed-file
Pass changed file into `invalid` plugin hook
This commit is contained in:
		
						commit
						9063bee36d
					
				|  | @ -105,8 +105,8 @@ Watching.prototype.watch = function(files, dirs, missing) { | ||||||
| 		this.compiler.fileTimestamps = fileTimestamps; | 		this.compiler.fileTimestamps = fileTimestamps; | ||||||
| 		this.compiler.contextTimestamps = contextTimestamps; | 		this.compiler.contextTimestamps = contextTimestamps; | ||||||
| 		this.invalidate(); | 		this.invalidate(); | ||||||
| 	}.bind(this), function() { | 	}.bind(this), function(fileName, changeTime) { | ||||||
| 		this.compiler.applyPlugins("invalid"); | 		this.compiler.applyPlugins("invalid", fileName, changeTime); | ||||||
| 	}.bind(this)); | 	}.bind(this)); | ||||||
| }; | }; | ||||||
| 
 | 
 | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue