Silly little bat script to make dev on windows less painful

This commit is contained in:
dannyrb 2019-04-17 16:42:56 -04:00
parent 38c01d46a1
commit 4f2a6a3c70

View File

@ -0,0 +1,13 @@
:: REQUIRES GLOBAL INSTALL OF GITBOOK and GITBOOK-CLI
::
:: Call this script from the command line while in the directory of the book
:: you want to actively edit + preview
::
:: `gitbook serve` can break with permission issues on Windows for misc.
:: machines. This script is a workaround. When `gitbook serve` fails, it silently
:: restarts it.
:: https://github.com/GitbookIO/gitbook/issues/1379#issuecomment-288048275
@Echo off
:Start
call gitbook serve
goto Start