mirror of https://github.com/embarklabs/embark.git
rev comment
This commit is contained in:
parent
7d65c2b0cd
commit
c02199db0f
|
@ -105,7 +105,7 @@ class WebServer {
|
|||
|
||||
buildPlaceholderPage(cb) {
|
||||
let html = Templates.embark_building_placeholder({buildingMsg: __('Embark is building, please wait...')});
|
||||
fs.mkdirpSync(this.buildDir); // create buildDir/ folder if not already exists
|
||||
fs.mkdirpSync(this.buildDir); // create buildDir if it does not exist
|
||||
fs.writeFile(utils.joinPath(this.buildDir, 'index.html'), html, cb);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue