It seems like yarn nx r…

1 minute read

It seems like yarn nx run data-access:generate --args="--watch=true" is not being passed down my actual command. How do you append dynamic arguments to a workspace command?


Workspace config:

"generate": { "builder": "@nrwl/workspace:run-commands", "options": { "commands": [ { "command": "graphql-codegen --config codegen.yml" } ], "cwd": "libs/data-access/src" } }

If you are looking for support, please use <#CMFKWPU6Q support> channel!

:ok: Not sure if this is a bug though, because I’m doing it according to the docs

& when I just create a plain that logs the process.argv the args aren’t there either

either way your asking for support, please use the correct channel

Ok, what is this channel exactly for then, it neither has a description or topic

Thats a good question, this was one of the first channels I created. Didn’t really have any idea what it would be used for but I figured it would end up being mostly discussions on how to improve nx.

OK, cool. I think slack actually ended up proposing this channel to me.

In the meantime I also figured out that I had to list all the commands in the workspace configuration. I’ll see if I can improve the docs on that, or if I’m just blind