NicoK edited a comment on issue #9489: [FLINK-13793][docs] build each language 
in a separate subprocess
URL: https://github.com/apache/flink/pull/9489#issuecomment-583328071
 
 
   Serving  `en` and building `zh` in the background would be a nice trick but 
the result depends on the timing of when the `zh` build finishes. If it is 
first, then the `en` build will remove the `contents` directory and replace it 
with its own (thus removing the `zh` files) :(
   
   Verified by running this:
   ```
   set -x
   (set -x; bundle exec jekyll build --baseurl= --config 
_config.yml,_config_dev_zh.yml --source "`pwd`" --destination 
"`pwd`/content_zh" && mkdir -p "`pwd`/content" && cp -aln "`pwd`/content_zh/." 
"`pwd`/content" && rm -rf "`pwd`/content_zh") &
   bundle exec jekyll serve --baseurl= --watch --incremental --config 
_config.yml,_config_dev_en.yml --source "`pwd`" --destination "`pwd`/content"
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to