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

allow passing in a merged json to stoat local to render #90

Open
jrhizor opened this issue Dec 22, 2022 · 0 comments
Open

allow passing in a merged json to stoat local to render #90

jrhizor opened this issue Dec 22, 2022 · 0 comments

Comments

@jrhizor
Copy link
Contributor

jrhizor commented Dec 22, 2022

No description provided.

jrhizor added a commit that referenced this issue Dec 22, 2022
There was a bug previously where if this was run from a subdirectory, it
would always use the default remote template, since it wouldn't find the
local one where it expected. That's fixed in this PR.

Also, while it would detect a change in specified template file in the
Stoat config file, it wouldn't update automatically on changes within
the template itself, which would require restarting `stoat local`. This
wouldn't be that big of a deal except the one of the biggest reasons to
use local mode is to fine tune the template.

I created #90 to track
an issue that would make it trivial to locally iterate on templates
including non-`static_hosting` plugins. Maybe we could even have a copy
button on debug pages next to the merged configs that just gives you the
command to run locally to preview that exact config.
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

No branches or pull requests

1 participant