Skip to content

inode breaks when saving #13052

Description

@kujohn

Summary

Writing to file breaks some app's file watching which leads to crashes for the other app.

Reproduction Steps

I tried this:

  1. hx test.frag
  2. open up kodelife and turn on watch on same file
  3. change and save in hx

I expected this to happen:
kodelife reloads file with new content

Instead, this happened:
kodelife crashes

Workaround:
I use a script to cat from a temp file to the original file

Helix log

~/.cache/helix/helix.log
please provide a copy of `~/.cache/helix/helix.log` here if possible, you may need to redact some of the lines

Platform

macOS 14

Terminal Emulator

wezterm version: 20240203-110809-5046fc22

Installation Method

brew

Helix Version

helix 25.01.1 (e7ac2fc)

Metadata

Metadata

Assignees

No one assigned

    Labels

    C-bugCategory: This is a bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions