tspath icon indicating copy to clipboard operation
tspath copied to clipboard

execute after tsc build

Open jaimesangcap opened this issue 7 years ago • 3 comments

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?

jaimesangcap avatar Dec 29 '18 11:12 jaimesangcap

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 avatar Jan 23 '19 14:01 0x80

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

0x80 avatar Jan 23 '19 14:01 0x80

the -f would be "force" -f or -force works this is so that it can be run headless on build servers for example...

Den ons 23 jan. 2019 kl 15:50 skrev Thijs Koerselman < [email protected]>:

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

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/duffman/tspath/issues/23#issuecomment-456829260, or mute the thread https://github.com/notifications/unsubscribe-auth/AAAy__6OzYnMtumI-HuCfR6G9upEyheqks5vGHaYgaJpZM4ZkiVZ .

duffman avatar Jan 23 '19 18:01 duffman