Gatsby cli commands
Gatsby cli commands
📝 Posted on 2021-06-15T04:33:39Z
1 min read

Gatsby cli commands

#gatsby#javascript#react#netlify
  1. gatsby develop
  2. gatsby build
  3. gatsby serve
  4. gatsby info
  5. gatsby clean
  6. gatsby repl
  7. gatsby new [rootPath] [starter]

gatsby develop

Starts development server. If something changes in the project it will rebuilds the server and perform hot reload.

gatsby build

Generates build from the source code.

gatsby serve

Serve previously built Gatsby site.

gatsby info

It gives gatsby environment information and packages information

gatsby clean

Clears the

cache
,
assets
and build

gatsby repl

It is node repl with context of Gatsby environment

Saketh
Author : Saketh
Software @Observe.ai
LinkedInPortfolioGitHub