Verified Commit 0298b5ab authored by Aral Balkan's avatar Aral Balkan
Browse files

Add a couple of console log statements to reflect run mode in browser

parent 8f1845aa
......@@ -7,8 +7,10 @@ const isRunningInProductionMode = process.env.NODE_ENV === 'production'
const isRunningInDevelopmentMode = !isRunningInProductionMode
if (isRunningInDevelopmentMode) {
console.log('Development mode.')
app.use(require('choo-devtools')())
} else {
console.log('Adding service worker')
app.use(require('choo-service-worker')())
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment