Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exit with the right status when build fails #104

Merged
merged 1 commit into from
Dec 20, 2015

Commits on Dec 16, 2015

  1. Exit with the right status when build fails

    If the build fails, exit with the failure code (1). This is done by
    throwing any errors from the build instead of just logging them to
    stdout like before.
    
    The correct exit code is important when running Gatsby in a CI build,
    for example. You want the build to fail so you don't deploy the site,
    if it didn't build successfully.
    fson committed Dec 16, 2015
    Configuration menu
    Copy the full SHA
    c1d6de8 View commit details
    Browse the repository at this point in the history