Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dev-approuter] Allow to start CAP server with cds-ts serve or any other command #1061

Open
tiosteel opened this issue Aug 13, 2024 · 1 comment
Assignees

Comments

@tiosteel
Copy link

Is your feature request related to a problem? Please describe.
I want to use the dev-approuter in combination with monorepo and TS on both SAPUI5 and CAP sides for local development.

I'm almost there:
https://github.com/tiosteel/mortgagecalc
(see srv/cap-server and app/router)

The only thing which prevents me from finalising it is a fact that dev-approuter cannot start my server with cds-ts serve.

Describe the solution you'd like
a. allow to provide a console command to start CAP server
b. allow to specify if I need the exact cds-ts to start it

Describe alternatives you've considered
a. Use regular approuter + cap server with 2 different active consoles.
b. precompile ts on every restart (which cds-ts usually allows to avoid)

Additional context
inspired by this:
@nicoschoenteich
https://www.youtube.com/watch?v=bJIMIE7yjIE
https://github.com/SAP-samples/sap-tech-bytes/tree/cloud-foundry-basics/post6

@tiosteel tiosteel changed the title [dev-approuter] Allow to start CAP server with cds-ts serve or any other command. [dev-approuter] Allow to start CAP server with cds-ts serve or any other command Aug 14, 2024
@petermuessig
Copy link
Member

@nicoschoenteich - maybe something to look into from your side?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants