Tuesday, May 24, 2022

Google Voice Chome Extension, React Development, and Incognito (Solved)

 After trying to play around with the open package which is a dependency of react-dev-utils, I added the bopen package and changed the open call on line 131 in openBrowser.js to bopen and added incognito:true

This is currently hack status.  but does solve the issue of using my chrome with all my extensions and launching the dev server in incognito mode.

  try {
    var options = { app: browser, wait: false, url: true , incognito: true};
    bopen(url, options).catch(() => {}); // Prevent `unhandledRejection` error.

    return true;
  } catch (err) {
    return false;
  }

No comments:

Post a Comment