Skip to content

hot-reloading doesn't remove old versions of content scripts #207

@Hades32

Description

@Hades32

If I change e.g. the number in this content script (yes, it's only one line), then the browser does reload, but now I get two log lines, one for the old and one for the new version

Also a full reload of the page doesn't fix this

content script

console.log("hello from TWITCH 3 content_scripts");

version

"extension": "^2.0.0-beta.1"

Manifest snippet

  "content_scripts": [
    {
      "matches": [
        "https://twitch.tv/*",
        "https://*.twitch.tv/*"
      ],
      "js": [
        "content/twitch-script.ts"
      ]
    },
    {
      "matches": [
      "https://youtube.com/*",
      "https://*.youtube.com/*"
      ],
      "js": [
        "content/youtube-script.ts"
      ]
    }
  ]

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions