Open teleclimber opened 2 years ago
One possible solution: if you assume there will be a special path for appspaces for dropserver related stuff, like:
appspace.example/.dropserver/
Then you can give guidance on how service workers should handle these paths and include guidance that /.dropserver/ds-dev/
should be ignored by the sw.
If you have a service worker registered on localhost, it will apply to
localhost:xxxx/dropserver-dev/
path as well, naturally.Depending on how the sw works, it could make using ds-dev difficult.
We have to assume many dropapps will be web apps with a service worker. So this is a very common situation: The app you're working on with "ds-dev" will register a service worker and cause problems.
From my experience different ports on localhost use the same sw? So just using another port may not work.