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

Run terminal command after emit with tsc CLI #35398

Closed
alshdavid opened this issue Nov 27, 2019 · 1 comment
Closed

Run terminal command after emit with tsc CLI #35398

alshdavid opened this issue Nov 27, 2019 · 1 comment
Labels
Out of Scope This idea sits outside of the TypeScript language design constraints Suggestion An idea for TypeScript

Comments

@alshdavid
Copy link

In order to apply a post-processing step to typescript files, such as path resolution or migrating files from source directories, it would be useful to have access to a post-emit hook.

tsc -w --post-emit="ls dist"

This would run ls dist every time the compiler emits on watch mode.

@RyanCavanaugh RyanCavanaugh added Out of Scope This idea sits outside of the TypeScript language design constraints Suggestion An idea for TypeScript labels Dec 2, 2019
@RyanCavanaugh
Copy link
Member

This is outside the scope of things we want TS to be responsible for

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Out of Scope This idea sits outside of the TypeScript language design constraints Suggestion An idea for TypeScript
Projects
None yet
Development

No branches or pull requests

2 participants