Skip to content

Diagnostics don't refresh after file rename #2387

@mjbvz

Description

@mjbvz
  1. Start with two files:
// index.ts
import { foo } from './abc';
// xyz.ts
export const foo = 1;
  1. Confirm you see an error about missing abc file in index.ts
  2. Now rename xyz.ts to abc.ts

Bug
Sometimes I still see the error. I have to reload the server to get the error to go away

Image

If you don't see this, try renaming the file a few times

Here's a log from when it happened: rename-bug.log

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions