Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

run is slow to re-upload the extension to the device #2898

Open
avi12 opened this issue Sep 30, 2023 · 0 comments
Open

run is slow to re-upload the extension to the device #2898

avi12 opened this issue Sep 30, 2023 · 0 comments

Comments

@avi12
Copy link

avi12 commented Sep 30, 2023

Is this a feature request or a bug?

Bug

What is the current behavior?

Whenever I make a change in a project file, it might take a minute or two before I see it installed on Firefox for Android

How to reproduce

  1. Start a project in Plasmo (or use mine, YouTube Auto HD + FPS, and skip to 4), although I'm sure it behaves the same without using a framework
  2. Have a basic file structure, like
    package.json
    content.ts
    
  3. Add a entries to package.json:
    {
      "scripts": {
        "dev:firefox": "plasma dev --target=firefox-mv2 --verbose",
        "run-firefox:android": "web-ext run --start-url https://www.youtube.com/watch?v=aiSla-5xq3w --target firefox-android --source-dir=build/firefox-mv2-dev --verbose --overwrite --android-device=ID"
      }
    }
  4. Run dev:firefox and run-firefox:android (replace ID with the emulator ID)
  5. Make a modification to content.ts
  6. Should take a while before the new ext version gets loaded into the Firefox app

What is the expected or desired behavior?

Should load much quicker

Version information (for bug reports)

  • Firefox version: 118.0.1
  • Your OS and version: Android 13 emulator that runs inside a Windows 10 Pro 22H2 machine
  • Paste the output of these commands:
node --version && npm --version && web-ext --version
v20.3.1
8.7.6
8.8.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant