Changing the chompfile.toml while watching via `chomp -w` does not invalidate
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 168
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
I modified the chompfile while using chomp -ws and I was expecting it to re-build targets affected by the task whose options I modified:
[[task]]
name = "build:html"
template = "jspm"
target = "lib/index.html"
deps = ["src/index.html", ":build:svelte", ":build:typescript"]
[task.template-options]
env = ["browser", "production"]
preload = true
integrity = true
I added whitespace = false to the template-options, expecting index.html's import map to be formatted differently.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the issue with the shown chompfile.toml by running chomp -ws, then changing the build:html task's template-options. Trace how watch mode detects chompfile changes and invalidates dependent targets. Done means changing whitespace causes lib/index.html to rebuild and the import map formatting to reflect the new option.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- build-system
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100