-
Notifications
You must be signed in to change notification settings - Fork 158
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
Enable watch
server from arbitrary host
#924
Comments
Ah yes, this rings a bell. Maybe adding |
Hm, that's a start. But it seems that flag works for |
I think I figured out a patch in #925 . But I'm a little suspicious since there was a whole branch dedicated to preventing a user override of |
As mentioned in #925 (comment), I would short term try the Ideal situation would probably be have I don't know why root has to be localhost for watch mode. I propose to change this and deal with the real problem once it surfaces. We can also play with this during some alphas. |
While working on a project with a new developer in a GitHub Codespace today, I wanted to be able to serve the documentation of our feature branch. However, I ran into a limitation of the
watch
command wheredotnet tool run fsdocs watch
is incompatible with a remote host because the relative links in the generated HTML are all rooted athttp://localhost:8901
.Would it be possible to configure
watch
to:{{root}}
value in HTML templates/tmp/watch
directory[content | reference]/*
toindex.html
I think something as simple as
dotnet tool run fsdocs watch --remote
would be very convenient. Though, maybe there is already a way to accomplish this with a combination of existing flags?The text was updated successfully, but these errors were encountered: