SAP / SAP/app-studio-toolkit

Live reload in remote ssh

Open
#410 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
21
Forks
23
Avg merge
1d 15h
Merged PRs (30d)
17

Description

Due to the way port forwarding probably works in BAS, the remote SSH extension does not allow for starting the app while enabling live reload. Because the live reload middleware is listening to the cloud forwarded ports e.g. port8080-workspaces[...].applications.cloud.sap, i.e. it thinks that this is localhost and is listening to the live-reload port on that adress. But starting (fiori run or ui5 serve) in local vs code while using remote SSH extension does not enable these ports. It must be a native feature of BAS. Could this be intregrated in some way?

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by investigating how BAS remote SSH port forwarding interacts with fiori run and ui5 serve, focusing on the live-reload middleware and forwarded application ports described in the issue. Done means defining and implementing a native BAS-supported way to start these commands with live reload through the forwarded ports.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
developer-experience, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.