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

Nitpick: prefer --directory flag over cd #3215

Merged
merged 1 commit into from
Dec 18, 2024
Merged

Conversation

koaning
Copy link
Collaborator

@koaning koaning commented Dec 18, 2024

📝 Summary

Right now when you export to html-wasm this line is shown:

To run the exported notebook, use:
  cd docs/index.html && python -m http.server

It works, but the cd is a side effect. Might be nice to be able to do without it?

🔍 Description of Changes

You can use a --directory flag for python -m http.server instead. Might be preferable? This way you don't have to worry about cd'ing in and out.

📜 Reviewers

@akshayka OR @mscolnick

Copy link

vercel bot commented Dec 18, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ❌ Failed (Inspect) Dec 18, 2024 6:51pm
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 18, 2024 6:51pm

@koaning koaning changed the title Nitpick: prefer --directory flag over cdUpdate commands.py Nitpick: prefer --directory flag over cd Dec 18, 2024
@mscolnick mscolnick merged commit 3fbe88d into marimo-team:main Dec 18, 2024
29 of 30 checks passed
@koaning koaning deleted the patch-3 branch December 18, 2024 20:29
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

Successfully merging this pull request may close these issues.

2 participants