Answer the question
In order to leave comments, you need to log in
How to implement such a sequence in package.json?
So there is a small stack of plugins.
babel-node (parses files into RAM), source-map-support, nodemon.
You need to make the following logic:
nodemon --inspect-brk source-map-support babel-node
server.js , then source-map-support creates a source map, and the whole thing starts the nodemon with the --inspect-brk tag.
In fact, the opposite is true, the nodemon runs --inspect-brk source-map-support, that's it.
How can I change it to fit my logic?
Answer the question
In order to leave comments, you need to log in
Try dancing from this recipe: https://gist.github.com/sam-artuso/d39dc04650f9455...
I don't really know about source-map-support...
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question