Skip to content

Use env-cmd for development mode #87

Description

@varya

https://www.npmjs.com/package/env-cmd

Eg, set up .env.development to use GraphQL playground:

GATSBY_GRAPHQL_IDE=playground

Then, to run the development mode, in package.json:

"develop": "env-cmd .env.development gatsby develop"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions