tilt-dev / tilt-dev/tilt

Conditional fall back

Open
#3,241 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
Dominant language
Go
Stars
10.1k
Forks
413
Avg merge
1d 10h
Merged PRs (30d)
6

Description

This request is sort of crazy but would also be quite useful I believe. What I'm thinking is that it would be awesome to have a way to say that the build should fall back to rebuilding the image but only when part of a file has been changed.

I'm currently doing some node.js stuff and the package.json file is... well, quite abused as per usual. Most changes in there don't affect the running application at all, except for the dependencies and devDependencies sections. Everything else is basically just developer configuration but it still has to rebuild everything just in case I did change any dependencies. If I could tell Tilt either to parse the JSON and check where the differences are or if I could specify some regex for where to look, that would speed up iteration times quite a bit for me.

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.

Research direction

Start by reviewing Tilt's existing image build and file-change handling; the issue does not name specific files, tests, or entry points. Clarify how changes within package.json should be detected, especially dependencies and devDependencies, and define done as rebuilding only when those sections change.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
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.