diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-16 17:29:44 +0300 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2015-05-16 17:29:44 +0300 |
commit | 7f28b27a6ac862f246912ec4b181a4f10b2bbf20 (patch) | |
tree | cc16aadf5b4ee46e81f5c8b64dac0ae04649219f | |
parent | rename CSS classes (diff) | |
download | egor-tensin.github.io-7f28b27a6ac862f246912ec4b181a4f10b2bbf20.tar.gz egor-tensin.github.io-7f28b27a6ac862f246912ec4b181a4f10b2bbf20.zip |
README update
-rw-r--r-- | README.md | 19 |
1 files changed, 5 insertions, 14 deletions
@@ -18,7 +18,7 @@ in the project's root directory. To run a local web server, run - bundle exec jekyll serve --watch + bundle exec jekyll serve --watch --config _config.yml,_config_dev.yml from the project's root directory. You can then review your changes at http://localhost:4000/. @@ -26,24 +26,15 @@ You can then review your changes at http://localhost:4000/. Please note that the support for `--watch`ing for modification on Windows is kind of iffy at the moment of writing. One possible workaround is to add `--force_polling` to `jekyll`s options: - bundle exec jekyll serve --watch --force_polling + bundle exec jekyll serve --watch --force_polling --config _config.yml,_config_dev.yml It might still not work though, so you might end up having to re-run `jekyll` manually. For details, refer to http://jekyll-windows.juthilo.com/4-wdm-gem/. -To use properly formatted external CSS stylesheets and Javascript files instead of the `min`ified versions, override the `site.minified_externals` field by passing `--config _config.yml,_config_dev.yml` to `jekyll`. +Note that `_config_dev.yml` is included to rewrite some of the `site` fields from `_config.yml` during development. +In particular, it -To sum up, on Linux use - - bundle exec jekyll serve \ - --watch \ - --config _config.yml,_config_dev.yml - -and on Windows (hoping for the best) use - - bundle exec jekyll serve ^ - --watch --force_polling ^ - --config _config.yml,_config_dev.yml +* sets `minified_externals` to `false` so that the properly formatted versions of external CSS stylesheets and JavaScript files are included instead of the `min`ified versions. ## Licensing |