mirror of https://github.com/embarklabs/embark.git
Clean build dir before starting
This commit is contained in:
parent
323ec0d529
commit
0cb12e0591
|
@ -16,6 +16,8 @@ class Pipeline {
|
||||||
this.webpackConfigName = options.webpackConfigName;
|
this.webpackConfigName = options.webpackConfigName;
|
||||||
this.pipelinePlugins = this.plugins.getPluginsFor('pipeline');
|
this.pipelinePlugins = this.plugins.getPluginsFor('pipeline');
|
||||||
this.isFirstBuild = true;
|
this.isFirstBuild = true;
|
||||||
|
|
||||||
|
fs.removeSync(this.buildDir);
|
||||||
}
|
}
|
||||||
|
|
||||||
build(abi, contractsJSON, path, callback) {
|
build(abi, contractsJSON, path, callback) {
|
||||||
|
|
Loading…
Reference in New Issue