Run onSuccess on pressing r
eguneys opened this issue · 5 comments
I want to run onSuccess when nothing changes, by pressing r or something.
Can you explain your reasons? usecase
I write a typescript program for testing my website, when I update my website code, I want to run the program again.
"a typescript program"?
Can you be more specific?
I run tsc-watch
on my typescript files, that compiles a program that tests my website on successful compilation. now sometimes I don't change my typescript files but change my website's code. now I want to run the tests again that is the same command I pass to tsc-watch --onSuccess
flag , so In order to force a run, I superfluously change my tests code to trigger a recompilation and onSuccess to run, while I could simply press r and trigger onSuccess without recompilation.