Skip to content

tsc-like commands not working as expected in tsgo (e.g. --watch mode fails) #937

Open
@noyandey88

Description

@noyandey88

I'm trying to use tsgo as a drop-in replacement for tsc, but some commonly used commands don't work as expected.

✅ Working

  • tsgo
  • tsgo --help

❌ Not Working

  • tsgo --watch → No output or action
  • tsgo --init → No output or action

💡 Expected

Support for --watch and other commonly used tsc flags.

Activity

changed the title [-]most of the `tsc` commands are not working in `tsgo`[/-] [+]tsc-like commands not working as expected in tsgo (e.g. --watch mode fails)[/+] on May 25, 2025
changed the title [-]tsc-like commands not working as expected in tsgo (e.g. --watch mode fails)[/-] [+]`tsc`-like commands not working as expected in `tsgo` (e.g. --watch mode fails)[/+] on May 25, 2025
Smrtnyk

Smrtnyk commented on May 25, 2025

@Smrtnyk

Have you checked the readme to see what is currently working?

noyandey88

noyandey88 commented on May 25, 2025

@noyandey88
Author

Image

@Smrtnyk I can see it Watches files and rebuilds, but it's not working.

jakebailey

jakebailey commented on May 26, 2025

@jakebailey
Member

Watch should be working. More info (or any info, really) would be helpful.

noyandey88

noyandey88 commented on May 26, 2025

@noyandey88
Author

@jakebailey, when I try to set the compiler mode to -w or --watch, it demonstrates all the commands, like --help, instead of doing anything.

Image

jakebailey

jakebailey commented on Jun 9, 2025

@jakebailey
Member

I think we really need a full repro to be able to check this, e.g. whatever is in this tsgo-test dir.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @jakebailey@Smrtnyk@noyandey88

        Issue actions

          `tsc`-like commands not working as expected in `tsgo` (e.g. --watch mode fails) · Issue #937 · microsoft/typescript-go