N
N
Newee2018-07-09 16:34:20
JavaScript
Newee, 2018-07-09 16:34:20

How to start nodemon with --experimental-worker?

Hello, help to run worker-threads through nodemon
Example: nodemon --experimental-worker --exec babel-node server.js
When trying to run with nodemon, it gives an error undefined option "--experimental-worker", normal nodemon config documentation no, and running through node also does not work, since you also need to raise babel and problems appear.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor Zabrodin, 2018-07-09
@Newee

nodemon.json .
In execMap it is possible to specify flags for node.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question