guybedford / guybedford/chomp

Dynamic deps

Open
#174 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Rust
Stars
168
Forks
8
PR merge metrics
No merged PRs in 30d

Description

I have a javascript file that uses ES module imports. I would like to "run" the JS file whenever it changes, or any of its imported dependencies.

I can create a list of files easily, but outside of dynamically modifying the chompfile.toml file, I'm not sure how to get this dynamic list of deps into a [[task]]. Is this supported?

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 checking how [[task]] entries in chompfile.toml accept dependency lists and how the runner handles imported dependencies in a JavaScript file. Confirm whether dynamic dependency discovery is supported; done means a task reruns when the file or any imported dependency changes without modifying chompfile.toml.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, rust
Domain
build-system
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.