If you call the faucet
command without any arguments, it will default to
building your project according to the configuration in the file
faucet.config.js
in the current directory. You have the following options:
-c $FILENAME
or--config=$FILENAME
: Use the file$FILENAME
as the configuration file.-w
or--watch
: Build once, afterward watch for file changes and rebuild when a file used for one of your bundles changes. See file watching for details.--fingerprint
: Fingerprint the file names. See fingerprinting & manifest for details.--compact
: Use a compact output format for all pipelines that support it. See each pipeline for details on compaction.--sourcemaps
: Add inline sourcemaps to all generated files by pipelines that support it (currentlyfaucet-pipeline-sass
andfaucet-pipeline-js
).--serve [HOST:]PORT
: serve generated files via HTTP--liveserve [HOST:]PORT
: Like serve, but with live reloading
We recommend that you do not use --fingerprint
with --watch
(fingerprinting
is not very useful in development and would clutter your disk).