Command line interface for gobble
npm install gobble-cliThe command line interface for Gobble, used for serving and building a project with a gobblefile.
``bash`
npm i -g gobble-cli
This will start a server and watch for changes, using the gobblefile.js in the current folder (or one of its ancestors).
`bashgobble serveyou could also do
- it's the same thing`
gobble
To use a specific port:
`bash`
gobble --port 1337
gobble -p 1337
To build the project to the out folder:
`bash`
gobble build out
Set the --force flag to clear out the target folder if it exists and is not empty:
`bash`
gobble build out --force
gobble build out -f
Like gobble build, except that the build will be updated whenever the source files change.
`bash``
gobble watch out
MIT.