Silly little bat script to make dev on windows less painful
This commit is contained in:
parent
38c01d46a1
commit
4f2a6a3c70
13
docs/win-server-workaround.bat
Normal file
13
docs/win-server-workaround.bat
Normal 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
|
||||
Loading…
Reference in New Issue
Block a user