wxt-dev / wxt-dev/wxt

Handle adding and removing entrypoints in dev mode

Open
#67 0 comments 0 reactions 1 assignee View on GitHub

@aklinker1 is already working on this.

Since Jul 30, 2023.

Dominant language
TypeScript
Stars
10.5k
Forks
564
PR merge metrics
No merged PRs in 30d

Description

Currently, if you add or remove a content script in dev mode, they aren't automatically registered or unregisterd respectively.

  • When we add a content script, it should be registered.
  • When we remove a content script, it should be unregistered.

A similar change could be done for HTML files. Remove it when the file is deleted, pre-render it when a new HTML file is added.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.