~ cleanup

This commit is contained in:
Pogodaanton 2020-05-11 15:10:23 +02:00
parent e4be2cbba3
commit 05e7043db2
1 changed files with 0 additions and 16 deletions

View File

@ -147,20 +147,4 @@ const compiler = reactDevUtils.createCompiler({
// Watch for changes and copy public folder if compilation is finished
compiler.watch({}, (err, stats) => {
if (err) console.error(err);
/*
console.error(
stats.toString({
chunks: false,
colors: true,
})
);
*/
});
function copyPublicFolder() {
fs.copySync(paths.appPublic, paths.appBuild, {
dereference: true,
filter: file => file !== paths.appHtml,
});
}