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

Update start:dev command (use incremental tsc) #172

Closed
kamilmysliwiec opened this issue May 5, 2019 · 2 comments
Closed

Update start:dev command (use incremental tsc) #172

kamilmysliwiec opened this issue May 5, 2019 · 2 comments

Comments

@kamilmysliwiec
Copy link
Member

I'm submitting a...


[ ] Regression 
[ ] Bug report
[x] Feature request
[ ] Documentation issue or request
[ ] Support request => Please do not submit support request here, instead post your question on Stack Overflow.

Current behavior

ts-node is used

Expected behavior

Same as in typescript-starter, use tsc in the watch mode.

Minimal reproduction of the problem with instructions

What is the motivation / use case for changing the behavior?

Environment


Nest version: X.Y.Z

 
For Tooling issues:
- Node version: XX  
- Platform:  

Others:

@hellokvn
Copy link

hellokvn commented May 13, 2019

My solution with tsc-watch

"start:tsc": "rimraf dist && tsc-watch --onSuccess \"node -r ./tsconfig-paths-bootstrap.js ./dist/main.js\" --compiler typescript/bin/tsc",

@kamilmysliwiec
Copy link
Member Author

Available in the latest @nestjs/cli

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

No branches or pull requests

2 participants