I installed jekyll and run it from cli:
jekyll --server --auto
But when I change _config.yml
I can't see that my changes where applied and I have to restart server every time.
I really need to restart server every time when I change _config.yml
? Or there is some workaround?
I believe you are correct; that changes to _config.yml
always require restarting the server.
After all, _config.yml
provides options that you can override in the call to Jekyll. So it is unclear how auto should behave if an option is called on the command line run of jekyll which overrides some of the _config.yml
settings, and then the config is edited. Which would take precedence then? the _config.yml
or the original command line argument?
Parker Moore, maintainer of Jekyll, confirms that _config.yml
changes are not autogenerated or picked up by a running, watching Jekyll server.
No I remember why we can't do this: if you change either
source
ordestination
, you're eff'd, so we said 👎 to this suggestion. Definitely use_data
if you're using custom data. Otherwise, a quick^C
and restart should be 👌https://github.com/jekyll/jekyll/issues/2302#issuecomment-43160557
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With