fix polka.listen

This commit is contained in:
Luke Edwards
2018-09-18 14:12:14 -07:00
parent 2033114e64
commit 7a640347b4

View File

@@ -13,7 +13,6 @@ polka() // You can also use Express
sirv('assets', { dev }),
sapper({ manifest })
)
.listen(PORT)
.catch(err => {
console.log('error', err);
.listen(PORT, err => {
if (err) console.log('error', err);
})