gobble-cliThe command line interface for Gobble, used for serving and building a project with a gobblefile.
npm i -g gobble-cli
Serving a projectThis will start a server and watch for changes, using the
gobblefile.jsin the current folder (or one of its ancestors).
# you could also do `gobble serve` - it's the same thing gobble
To use a specific port:
gobble --port 1337 gobble -p 1337
Building a projectTo build the project to the
gobble build out
--forceflag to clear out the target folder if it exists and is not empty:
gobble build out --force gobble build out -f
Build to a specific folder, and watch for changesLike
gobble build, except that the build will be updated whenever the source files change.
gobble watch out