Skip to content

rider/jetbrains IDEs trigger tilt to sync a whole folder instead of only the file that changed #6485

@hahn-kev

Description

@hahn-kev

Expected Behavior

When I save a file in Rider it should trigger tilt to sync that one file

Current Behavior

When I save a file tilt reports this:

Will copy 2 file(s) to container: [ui-55f85ffbf9-jhmzm/ui]
- 'C:\dev\LexBox\frontend\src\lib' --> '/app/src/lib'
- 'C:\dev\LexBox\frontend\src\lib\app.postcss' --> '/app/src/lib/app.postcss'

when I change app.postcss in jetbrains rider, I assume the same thing happens in other editors

Steps to Reproduce

  1. start tilt
  2. with a project open in Rider make a file change and save it
  3. notice that tilt thinks the folder change also

Context

tilt doctor Output

Tilt: v0.33.20, built 2024-09-03
System: windows-amd64
---
Docker
- Host: npipe:////./pipe/dockerDesktopLinuxEngine
- Server Version: 27.4.0
- API Version: 1.47
- Builder: 2
- Compose Version: v2.31.0-desktop.2
---
Kubernetes
- Env: docker-desktop
- Context: docker-desktop
- Cluster Name: docker-desktop
- Namespace: languagedepot
- Container Runtime: docker
- Version: v1.30.2
- Cluster Local Registry: none
---

About Your Use Case

This triggers the build tools inside my container (vite in this case) to rebuild everything inside that folder, rather than just the thing that was changed. You can see our tiltfile here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions