fixing dev env issues

This commit is contained in:
Leamsi Escribano 2021-01-13 14:21:43 -05:00
parent a742b0e8f0
commit 5ea861b764
2 changed files with 3 additions and 7 deletions

View File

@ -15,7 +15,7 @@ console.log('Building Pixel Editor');
function copy_images(){ function copy_images(){
gulp.src('./images/') gulp.src('./images/*.png')
.pipe(gulp.dest(path.join(BUILDDIR, SLUG))); .pipe(gulp.dest(path.join(BUILDDIR, SLUG)));
} }

View File

@ -12,11 +12,7 @@ app.get('/', (req, res) => {
if(err){ if(err){
console.log('error sending file', err); console.log('error sending file', err);
} else { } else {
setTimeout(()=>{ console.log("Server: Successfully served index.html");
console.log('closing server');
server.close();
process.exit();
},1000*10);
} }
}); });
}); });