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

TypeScript start command executes compiled JavaScript #26

Closed
mattferrin opened this issue Dec 18, 2022 · 0 comments · Fixed by #28
Closed

TypeScript start command executes compiled JavaScript #26

mattferrin opened this issue Dec 18, 2022 · 0 comments · Fixed by #28

Comments

@mattferrin
Copy link

Is your feature request related to a problem? Please describe.
I can't npm start the latest version of my code without npx tsc to TypeScript compile everytime first.

Describe the solution you'd like
I would like for npm start to execute the TypeScript code instead.

Like so:
npm i -D ts-node
"start": "ts-node source/cli.tsx"

Describe alternatives you've considered
I've considered running npx tsc -w to compile TypeScript in watch mode to continuously update the JavaScript and still executing the compiled JavaScript without any code changes to create-ink-app.

Additional context
N/A

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

Successfully merging a pull request may close this issue.

1 participant