Speeding up the Chrome App Development Process

2019-05-24 02:13发布

问题:

Currently, my development process is: 1. zipping my code 2. uploading it at https://chrome.google.com/webstore/developer/dashboard, clicking publish 3. repeatedly clicking on "update extenstions now" at chrome://extensions/ to update the app which can take up to 60 minutes.

Is there a better way to do this? Waiting upto 60 minutes make dev very slow.

回答1:

The official documentation shows how to use developer mode to quickly load and launch your app/extension without having to finalize a distribution package:

  1. Open chrome://extensions from the Chrome omnibox or via Settings
    and enable [x] Developer mode check box.

  2. Drag'n'drop your app/extension folder onto the chrome://extensions page
    or click Load unpacked extension and choose your app/extension folder

  3. Click Launch or use Chrome App Launcher