Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

execute after tsc build #23

Open
jaimesangcap opened this issue Dec 29, 2018 · 3 comments
Open

execute after tsc build #23

jaimesangcap opened this issue Dec 29, 2018 · 3 comments

Comments

@jaimesangcap
Copy link

Maybe not directly an issue in this repo, but I think related. Is it possible to run tspath after each build when running tsc -w?

@0x80
Copy link

0x80 commented Jan 23, 2019

I'm not sure I understand your question, but this is what I use:

{
	"scripts": {
		"build": "tsc --pretty && tspath <<< Y"
	}
}

<<< Y answers the question of tspath.

@0x80
Copy link

0x80 commented Jan 23, 2019

I just learned that there is a -f flag to do the same. Not sure what the "f" stands for though, but this works too: tspath -f

@duffman
Copy link
Owner

duffman commented Jan 23, 2019 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants