Skip to content

express app ignores --app-dir option from shiny run commandline #1991

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

Open
arabidopsis opened this issue May 2, 2025 · 0 comments
Open

express app ignores --app-dir option from shiny run commandline #1991

arabidopsis opened this issue May 2, 2025 · 0 comments

Comments

@arabidopsis
Copy link

app_path = Path(app_no_suffix).resolve()

I think this line should be augmented as something like:

  if app_dir is not None:
    app_path = (Path(app_dir) / app_no_suffix).resolve()
  else:
    app_path = Path(app_no_suffix).resolve()

The is_express_app test does use the app_dir value to find the actual express app so we get a file not found exception

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

No branches or pull requests

1 participant