-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Use concurrently and wait-on for fast incremental builds #124
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
Conversation
Maybe we could consider removing |
nodemon.json
Outdated
"exec": "ts-node -r tsconfig-paths/register src/main.ts" | ||
"watch": ["dist"], | ||
"ext": "js", | ||
"exec": "node -r tsconfig-paths/register -r ts-node/register dist/main.js" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-r tsconfig-paths/register -r ts-node/register
Why are these required?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
-r tsconfig-paths/register -r ts-node/register
Why are these required?
tsconfig-paths
is used when people use paths
in their tsconfig.json
to map things in.
ts-node/register
can be dropped
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
tsconfig-paths is used when people use paths in their tsconfig.json to map things in.
Are you sure that it will still work after compilation? tsconfig-paths
is used with combination with the ts-node
We shouldn't because it's being used by |
Right, but we could move that off |
If you run |
It's not outputting to |
LGTM |
No description provided.