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

Add server initialization to build script #58

Open
ryangyoung opened this issue Apr 2, 2021 · 1 comment
Open

Add server initialization to build script #58

ryangyoung opened this issue Apr 2, 2021 · 1 comment

Comments

@ryangyoung
Copy link

To view the build output in most (all?) projects you need to:

  • Go to the out/ folder
  • Run python3 -m http.server
  • Devote a terminal session to running that server

It would be delightful if Dactyl, like Docusaurus, just gave you the address of the local server when the build finishes rather than having to re-run the trivial steps above.

@ryangyoung ryangyoung changed the title Add run server to build command Add server initialization to build script Apr 2, 2021
@mDuo13
Copy link
Collaborator

mDuo13 commented Apr 6, 2021

I wouldn't say it applies to all projects. Depending on the kinds of URLs you use, you can often just open the out/ folder in your browser and click an HTML file to open your browser.

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

2 participants