Add note about incognito mode

This commit is contained in:
Matt Bierner 2021-08-06 14:08:26 -07:00
parent 3f4879a8cb
commit c2fab30adf
No known key found for this signature in database
GPG key ID: 099C331567E11888

View file

@ -199,7 +199,7 @@ function getVsCodeApiScript(allowMultipleAPIAcquire, state) {
/** @type {Promise<void>} */
const workerReady = new Promise(async (resolve, reject) => {
if (!areServiceWorkersEnabled()) {
return reject(new Error('Service Workers are not enabled in browser. Webviews will not work.'));
return reject(new Error('Service Workers are not enabled. Webviews will not work. Try disabling private/incognito mode.'));
}
const swPath = `service-worker.js${self.location.search}`;