// Create a service worker importScripts("https://js.pusher.com/beams/service-worker.js"); // Serve this from http://localhost:3000/service-worker.js // Open http://localhost:3000/service-worker.js in your browser to verify that it is being served. You should see the plaintext content of the file you just created.