I was thinking I d use …
I was thinking I’d use "@nrwl/node:execute"
to build and run a simple nodejs script written in TypeScript (so I could have NX call the typescript builder). However, I can’t seem to find a way to just have "@nrwl/node:execute"
exit back to the calling process rather instead of sitting there watching for typescript changes. https://github.com/nrwl/nx/blob/master/packages/node/src/builders/execute/execute.impl.ts#L156 appears to have watch: true
hardcoded, but maybe I’m missing something more obvious.
[nrwl/nx] packages/node/src/builders/execute/execute.impl.ts:156