You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Running ~makeMicrosite always recompiles the site (ending up in an infinite cycle), instead of waiting for a new written update in the docs. I would like ~makeMicrosite to behave the same way ~compile does, the task is only executed if I have modified a markdown or resource file.
The text was updated successfully, but these errors were encountered:
FWIW tut doesn't implement this because the docs depend on code so a change in your source could in principle trigger a partial doc rebuild. I have not tried to figure out how to do this because I hate sbt, but it should be possible.
It seems excluding the generated jekyll resources from watchSources works, for example:
// Include *.md, *.img, *.css, etc. under doc folder
watchSources := (sourceDirectory.value ** "*").filter(!_.isDirectory).get,
Currently watchSources contain the files under target/resource_managed/jekyll so while sbt-microsoft generating files, the time stamps of these files are updated and triggers makeMicrosite task again.
Running
~makeMicrosite
always recompiles the site (ending up in an infinite cycle), instead of waiting for a new written update in the docs. I would like~makeMicrosite
to behave the same way~compile
does, the task is only executed if I have modified a markdown or resource file.The text was updated successfully, but these errors were encountered: