Skip to content

Vi and emacs don't properly live update in preview #563

Closed
@mythmon

Description

@mythmon

Ambassador Martien reports that when saving files using vim and emacs in their default configurations, the CLI does not properly live update and instead shows an error about "file no longer exists".

Question: (I’m new to yarn):

  • when I use vi or emacs to edit, say, index.md , yarn says “file no longer exists: /index.md”, and the page in Safari does not update;
  • when I edit a copy of index.md and use that to overwrite index.md, yarn sees the update and updates the browser page.

What editor should I use?

I think I found it. In vi , :set nowritebackup) :

  • inode stays the same;
  • only modify and change timestamps change. Access and birth remain the same.

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