Change WatchProgram constructor args #105
draylegend
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I'm not very familiar with
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I wanna develop an nx-plugin that initializes and serves the phero server and client. In order to get the plugin to work I need to pass two files like this:
I'd suggest to extend the args of WatchProgram constructor. I'd give the ability to change the paths to
tsconfig.json
andphero.ts
.Usage could look like this:
phero-server serve --tsConfig=apps/phero-api/tsconfig.app.json --phero=apps/phero-api/src/phero.ts
or without additional args
phero-server serve
.I already adapted the
phero-server
cli to suggested options. If this is worth the effort, I'd try to create an nx-plugin withinit
andserve
commands.P.S. I have a branch created locally, but I can't push this branch to github.
Beta Was this translation helpful? Give feedback.
All reactions