Merge pull request #3 from liamortiz/master

Fixing Local Dev Env Issues
This commit is contained in:
Nicola 2021-01-13 20:26:15 +01:00 committed by GitHub
commit 5ac0310b74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 7 deletions

View File

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

View File

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