We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 09d5aff commit e212bc3Copy full SHA for e212bc3
app/index.js
@@ -95,8 +95,10 @@ function checkFolders() {
95
});
96
} else {
97
if (!buildOptions.buildQuiet) console.log('NODe API: creating build folder');
98
- fs.mkdirSync(buildOptions.buildDir);
99
- copyAssets();
+ fs.mkdir(buildOptions.buildDir, (err, out) => {
+ if(err && !buildOptions.buildQuiet) { console.log('NODe API: Build folder already exists'); }
100
+ copyAssets();
101
+ });
102
}
103
104
0 commit comments