[Bug] A syntax error causes the module always build failed even after fixed the error

there is a simple demo:
https://github.com/XuJinNet/webpack-test

main.js, make a syntax error:

class A {
	constructor() {

	}

	func1() {
		console.log('money 💰😊');
	}
}

const a = new A();
a sdfsd .func1();

then get the error from webpack:
a3878e5c-42f4-4cc2-af72-4951aea96345

after fixed the error, refresh the page then get the error the same as above.

WebPack: 2.2.0-rc.0
webpack-dev-server: 2.1.0-beta.12
babel-loader: 6.2.9

Author: Fantashit

1 thought on “[Bug] A syntax error causes the module always build failed even after fixed the error

Comments are closed.