Running the command make all serve causes site to be built twice, which takes time (additional 3 minutes in my case). Following excerpt shows what's the matter:
Configuration file: /Users/skale/Projekty/geolexica/geolexica.org/_config.yml
Theme Config file: /Users/skale/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/jekyll-theme-isotc211-0.5.9/_config.yml
Source: /Users/skale/Projekty/geolexica/geolexica.org
Destination: /Users/skale/Projekty/geolexica/geolexica.org/_site
Incremental build: disabled. Enable with --incremental
Generating...
Warning: Excerpt modified in _pages/concepts-index-list.json!
Found a Liquid block containing the excerpt separator "\n\n".
The block has been modified with the appropriate closing tag.
Feel free to define a custom excerpt or excerpt_separator in the document's front matter if the generated excerpt is unsatisfactory.
Jekyll Feed: Generating feed for posts
cp: node_modules/@babel/polyfill/dist/polyfill.min.js: No such file or directory
done in 162.159 seconds.
Auto-regeneration: disabled. Use --watch to enable.
bundle exec jekyll serve
Configuration file: /Users/skale/Projekty/geolexica/geolexica.org/_config.yml
Theme Config file: /Users/skale/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/jekyll-theme-isotc211-0.5.9/_config.yml
Source: /Users/skale/Projekty/geolexica/geolexica.org
Destination: /Users/skale/Projekty/geolexica/geolexica.org/_site
Incremental build: disabled. Enable with --incremental
Generating...
Warning: Excerpt modified in _pages/concepts-index-list.json!
Found a Liquid block containing the excerpt separator "\n\n".
The block has been modified with the appropriate closing tag.
Feel free to define a custom excerpt or excerpt_separator in the document's front matter if the generated excerpt is unsatisfactory.
Jekyll Feed: Generating feed for posts
cp: node_modules/@babel/polyfill/dist/polyfill.min.js: No such file or directory
done in 171.287 seconds.
This is quite annoying in development, though acceptable in production deploys.
Full output
```
cp -a geolexica-database/concepts _concepts; \
pushd _concepts; \
for filename in *.yaml; do \
[ -e "$filename" ] || continue; \
NEW_NAME=${filename//yaml/adoc}; \
NEW_NAME=${NEW_NAME//concept-/}; \
mv $filename ${NEW_NAME}; \
echo "---" >> ${NEW_NAME}; \
done; \
popd
~/Projekty/geolexica/geolexica.org/_concepts ~/Projekty/geolexica/geolexica.org
~/Projekty/geolexica/geolexica.org
bundle
The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`.
Using public_suffix 4.0.1
Using addressable 2.7.0
Using asciidoctor 2.0.10
Using bundler 2.1.4
Using colorator 1.1.0
Using concurrent-ruby 1.1.5
Using eventmachine 1.2.7
Using http_parser.rb 0.6.0
Using em-websocket 0.5.1
Using ffi 1.11.3
Using forwardable-extended 2.6.0
Using i18n 0.9.5
Using rb-fsevent 0.10.3
Using rb-inotify 0.10.0
Using sass-listen 4.0.0
Using sass 3.7.4
Using jekyll-sass-converter 1.5.2
Using listen 3.2.1
Using jekyll-watch 2.2.1
Using kramdown 1.17.0
Using liquid 4.0.3
Using mercenary 0.3.6
Using pathutil 0.16.2
Using rouge 3.13.0
Using safe_yaml 1.0.5
Using jekyll 3.8.6
Using jekyll-asciidoc 3.0.0
Using jekyll-data 1.1.0
Using jekyll-feed 0.13.0
Using jekyll-plugin-frontend-build 0.0.2
Using jekyll-seo-tag 2.6.1
Using jekyll-sitemap 1.4.0
Using jekyll-theme-isotc211-helpers 0.5.4
Using jekyll-theme-isotc211 0.5.9
Bundle complete! 9 Gemfile dependencies, 34 gems now installed.
Use `bundle info [gemname]` to see where a bundled gem is installed.
bundle exec jekyll build
Configuration file: /Users/skale/Projekty/geolexica/geolexica.org/_config.yml
Theme Config file: /Users/skale/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/jekyll-theme-isotc211-0.5.9/_config.yml
Source: /Users/skale/Projekty/geolexica/geolexica.org
Destination: /Users/skale/Projekty/geolexica/geolexica.org/_site
Incremental build: disabled. Enable with --incremental
Generating...
Warning: Excerpt modified in _pages/concepts-index-list.json!
Found a Liquid block containing the excerpt separator "\n\n".
The block has been modified with the appropriate closing tag.
Feel free to define a custom excerpt or excerpt_separator in the document's front matter if the generated excerpt is unsatisfactory.
Jekyll Feed: Generating feed for posts
cp: node_modules/@babel/polyfill/dist/polyfill.min.js: No such file or directory
done in 162.159 seconds.
Auto-regeneration: disabled. Use --watch to enable.
bundle exec jekyll serve
Configuration file: /Users/skale/Projekty/geolexica/geolexica.org/_config.yml
Theme Config file: /Users/skale/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/jekyll-theme-isotc211-0.5.9/_config.yml
Source: /Users/skale/Projekty/geolexica/geolexica.org
Destination: /Users/skale/Projekty/geolexica/geolexica.org/_site
Incremental build: disabled. Enable with --incremental
Generating...
Warning: Excerpt modified in _pages/concepts-index-list.json!
Found a Liquid block containing the excerpt separator "\n\n".
The block has been modified with the appropriate closing tag.
Feel free to define a custom excerpt or excerpt_separator in the document's front matter if the generated excerpt is unsatisfactory.
Jekyll Feed: Generating feed for posts
cp: node_modules/@babel/polyfill/dist/polyfill.min.js: No such file or directory
done in 171.287 seconds.
Auto-regeneration: enabled for '/Users/skale/Projekty/geolexica/geolexica.org'
** ERROR: directory is already being watched! **
Directory: /Users/skale/Projekty/geolexica/geolexica.org/_concepts_json
is already being watched through: /Users/skale/Projekty/geolexica/geolexica.org/_concepts
MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
** ERROR: directory is already being watched! **
Directory: /Users/skale/Projekty/geolexica/geolexica.org/_concepts
is already being watched through: /Users/skale/Projekty/geolexica/geolexica.org/_concepts
MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
** ERROR: directory is already being watched! **
Directory: /Users/skale/Projekty/geolexica/geolexica.org/_concepts_ttl
is already being watched through: /Users/skale/Projekty/geolexica/geolexica.org/_concepts
MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors
Server address: http://127.0.0.1:4000/
Server running... press ctrl-c to stop.
```
Running the command
make all serve
causes site to be built twice, which takes time (additional 3 minutes in my case). Following excerpt shows what's the matter:This is quite annoying in development, though acceptable in production deploys.
Full output
``` cp -a geolexica-database/concepts _concepts; \ pushd _concepts; \ for filename in *.yaml; do \ [ -e "$filename" ] || continue; \ NEW_NAME=${filename//yaml/adoc}; \ NEW_NAME=${NEW_NAME//concept-/}; \ mv $filename ${NEW_NAME}; \ echo "---" >> ${NEW_NAME}; \ done; \ popd ~/Projekty/geolexica/geolexica.org/_concepts ~/Projekty/geolexica/geolexica.org ~/Projekty/geolexica/geolexica.org bundle The dependency tzinfo-data (>= 0) will be unused by any of the platforms Bundler is installing for. Bundler is installing for ruby but the dependency is only for x86-mingw32, x86-mswin32, x64-mingw32, java. To add those platforms to the bundle, run `bundle lock --add-platform x86-mingw32 x86-mswin32 x64-mingw32 java`. Using public_suffix 4.0.1 Using addressable 2.7.0 Using asciidoctor 2.0.10 Using bundler 2.1.4 Using colorator 1.1.0 Using concurrent-ruby 1.1.5 Using eventmachine 1.2.7 Using http_parser.rb 0.6.0 Using em-websocket 0.5.1 Using ffi 1.11.3 Using forwardable-extended 2.6.0 Using i18n 0.9.5 Using rb-fsevent 0.10.3 Using rb-inotify 0.10.0 Using sass-listen 4.0.0 Using sass 3.7.4 Using jekyll-sass-converter 1.5.2 Using listen 3.2.1 Using jekyll-watch 2.2.1 Using kramdown 1.17.0 Using liquid 4.0.3 Using mercenary 0.3.6 Using pathutil 0.16.2 Using rouge 3.13.0 Using safe_yaml 1.0.5 Using jekyll 3.8.6 Using jekyll-asciidoc 3.0.0 Using jekyll-data 1.1.0 Using jekyll-feed 0.13.0 Using jekyll-plugin-frontend-build 0.0.2 Using jekyll-seo-tag 2.6.1 Using jekyll-sitemap 1.4.0 Using jekyll-theme-isotc211-helpers 0.5.4 Using jekyll-theme-isotc211 0.5.9 Bundle complete! 9 Gemfile dependencies, 34 gems now installed. Use `bundle info [gemname]` to see where a bundled gem is installed. bundle exec jekyll build Configuration file: /Users/skale/Projekty/geolexica/geolexica.org/_config.yml Theme Config file: /Users/skale/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/jekyll-theme-isotc211-0.5.9/_config.yml Source: /Users/skale/Projekty/geolexica/geolexica.org Destination: /Users/skale/Projekty/geolexica/geolexica.org/_site Incremental build: disabled. Enable with --incremental Generating... Warning: Excerpt modified in _pages/concepts-index-list.json! Found a Liquid block containing the excerpt separator "\n\n". The block has been modified with the appropriate closing tag. Feel free to define a custom excerpt or excerpt_separator in the document's front matter if the generated excerpt is unsatisfactory. Jekyll Feed: Generating feed for posts cp: node_modules/@babel/polyfill/dist/polyfill.min.js: No such file or directory done in 162.159 seconds. Auto-regeneration: disabled. Use --watch to enable. bundle exec jekyll serve Configuration file: /Users/skale/Projekty/geolexica/geolexica.org/_config.yml Theme Config file: /Users/skale/.rbenv/versions/2.6.5/lib/ruby/gems/2.6.0/gems/jekyll-theme-isotc211-0.5.9/_config.yml Source: /Users/skale/Projekty/geolexica/geolexica.org Destination: /Users/skale/Projekty/geolexica/geolexica.org/_site Incremental build: disabled. Enable with --incremental Generating... Warning: Excerpt modified in _pages/concepts-index-list.json! Found a Liquid block containing the excerpt separator "\n\n". The block has been modified with the appropriate closing tag. Feel free to define a custom excerpt or excerpt_separator in the document's front matter if the generated excerpt is unsatisfactory. Jekyll Feed: Generating feed for posts cp: node_modules/@babel/polyfill/dist/polyfill.min.js: No such file or directory done in 171.287 seconds. Auto-regeneration: enabled for '/Users/skale/Projekty/geolexica/geolexica.org' ** ERROR: directory is already being watched! ** Directory: /Users/skale/Projekty/geolexica/geolexica.org/_concepts_json is already being watched through: /Users/skale/Projekty/geolexica/geolexica.org/_concepts MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors ** ERROR: directory is already being watched! ** Directory: /Users/skale/Projekty/geolexica/geolexica.org/_concepts is already being watched through: /Users/skale/Projekty/geolexica/geolexica.org/_concepts MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors ** ERROR: directory is already being watched! ** Directory: /Users/skale/Projekty/geolexica/geolexica.org/_concepts_ttl is already being watched through: /Users/skale/Projekty/geolexica/geolexica.org/_concepts MORE INFO: https://github.com/guard/listen/wiki/Duplicate-directory-errors Server address: http://127.0.0.1:4000/ Server running... press ctrl-c to stop. ```