typescript-go icon indicating copy to clipboard operation
typescript-go copied to clipboard

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

Open noyandey88 opened this issue 7 months ago • 4 comments

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.

noyandey88 avatar May 25 '25 10:05 noyandey88

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

Smrtnyk avatar May 25 '25 10:05 Smrtnyk

Image

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

noyandey88 avatar May 25 '25 10:05 noyandey88

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

jakebailey avatar May 26 '25 05:05 jakebailey

@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

noyandey88 avatar May 26 '25 10:05 noyandey88

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

jakebailey avatar Jun 09 '25 21:06 jakebailey

It's been a month with no reply; without any more info we can't work on this.

jakebailey avatar Jul 24 '25 20:07 jakebailey

Anyone who wants to use the watch until the official version fixes this I have a script to make it work => https://gist.github.com/mguleryuz/41505a9c68729a7569abfb1dc0f8e41d

mguleryuz avatar Oct 02 '25 15:10 mguleryuz

"fixes this"?

What is the bug specifically? That is all I was trying to get, because it wasn't clear what the problem was nor how to reproduce it. Without that we can't do anything.

jakebailey avatar Oct 02 '25 16:10 jakebailey