Fixes #524: gitbook serve exit immediately

Added a `keepRunning` option to prevent exit when running `gitbook serve`.