Content-Length: 250259 | pFad | http://github.com/dotnet/tye/issues/1619

46 Here is a little trick that can help you kill Tye when it doesn't respond to `CTRL+C` · Issue #1619 · dotnet/tye · GitHub
Skip to content
This repository was archived by the owner on Nov 20, 2023. It is now read-only.
This repository was archived by the owner on Nov 20, 2023. It is now read-only.

Here is a little trick that can help you kill Tye when it doesn't respond to CTRL+C #1619

Open
@Kralizek

Description

@Kralizek

Sometimes one of my Tye configuration hangs and it doesn't react to my CTRL+Cs.

I noticed that the VSCode extension can still kill the application gracefully so I went into its source code and I found that it sends a DELETE request to the control endpoint.

I tested it on my own computer and it works nicely. I also created a simple Powershell cmdlet and added it to my $PROFILE file

function Stop-Tye {
	[CmdletBinding()]
	param(
		[Parameter(Mandatory = $false)]
		$Port = 8000
	)
	Invoke-RestMethod -Method DELETE -Uri "http://localhost:$Port/api/v1/control"
}

For the Tye team (🤔), the only configuration where Tye hangs pretty regularly is the one that has some dirty tricks to launch an application hosted in IIS Express and a nodejs one.

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









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: http://github.com/dotnet/tye/issues/1619

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy