New command start-dev runs with node_env flag set to development.
This commit is contained in:
@@ -11,6 +11,10 @@ var serviceWorkerRegistrationMixin = {
|
||||
}
|
||||
this.registerPushListener();
|
||||
this.registerServiceWorker();
|
||||
if (__ENV__ == "development") {
|
||||
console.info("Service worker manually disabled while on localhost.")
|
||||
} else {
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
registerPushListener: function() {
|
||||
|
||||
Reference in New Issue
Block a user