ionic-pwa-toolkit
ionic-pwa-toolkit copied to clipboard
npm start.sw missing script
Resources:
Stencil version:
@stencil/[email protected]
I'm submitting a ... [x] bug report [ ] feature request [ ] support request => Please do not submit support requests here, use one of these channels: https://forum.ionicframework.com/ or https://stencil-worldwide.slack.com
Current behavior: npm run start.sw
Expected behavior: start dev server with ServiceWorker
Other information: I'm trying to test push notification. The script isen't in the package.json
I took a look at the commit history for package.json and it looks like it was removed in 3b3d76bfb087dbbc57b4e458c3f4a3062e156c7b. Not sure if that was a mistake or an intentional design choice. Any thoughts, @manucorporat?
In the meantime, you can just pass --service-worker to the start script.
npm start -- --service-worker
@natemoo-re can you do a pull to correct readme.md
@natemoo-re this project includes several execution errors, have you tried to run today? for example " The 'swSrc' file can't be read. ENOENT: no such file or directory, open" can you do a pull to correct readme.md?