Skip to content

Warnings in the watch mode #8158

@alex35mil

Description

@alex35mil

I have N warnings in the app. I run rescript watch - it shows all of them and editor integration shows all of them as well. Then I save some file in the editor, and all of the warnings disappear from diagnostics.

This is what I see in the console:

Image

After each consequent save, compiler stops outputting warnings - I guess it's related to the reason they disappear from editor diagnostics?


Also, two kinda unrelated remarks:

  1. Feedback time - from save to update - noticeably increased compared to v11. Is this expected or is it something with my setup?
  2. Seems like if I have 3 packages in a workspace, each package has own namespace in editor integration? With Rewatch, I hoped to get workspace wide diagnostics as it's done in rust-analyzer, but apparently it's not how it works in ReScript LSP?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions