@nrwl/node:node
Execute Nodejs applications.
Options can be configured in project.json
when defining the executor, or when invoking it. Read more about how to configure targets and executors here: https://nx.dev/configuration/projectjson#targets.
Options playground
This is an example of what the properties looks like and their values. Go ahead and try, test your configuration this is a live-edit window, you can interact directly and get intellisense on property's values.
Options
args
Extra args when starting the app.
buildTarget
The target to run to build you the app.
buildTargetOptions
[object Object]
Additional options to pass into the build target.
host
localhost
The host to inspect the process on.
inspect
inspect
Ensures the app is starting with debugging.
port
9229
The port to inspect the process on. Setting port to 0 will assign random free ports to all forked processes.
runtimeArgs
Extra args passed to the node process.
waitUntilTargets
The targets to run to before starting the node app.
watch
true
Enable re-building when files change.