microsoft / microsoft/vscode-loader

Unload or ability to redefine a module?

Open
#9 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
JavaScript
Stars
179
Forks
62
Avg merge
18h 42m
Merged PRs (30d)
2

Description

It would be useful to redefine a module using define or provide a function to unload a module. Right now calling define with the same module name (with ignore duplicates) ignores the contents if it has changed.

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reviewing the loader's handling of define when the same module name is used with ignore duplicates. The issue does not name files or tests and leaves redefinition versus unloading unresolved, so the expected behavior must be clarified before implementation; done should be a decided, tested behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.