You don't specify that the example code needs to be in gulpfile.js, which new users may not know (I didn't).
While running gulpgulpfile.js file described, I get this after every file change:
Description:
Generate a site from source
Usage:
generate [options] [--] <source>
Arguments:
source Directory to load page FROM.
Options:
--output=OUTPUT Directory to generate page TO. [default: "/home/alex/repos/statie/output"]
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-c, --config=CONFIG Path to config file. [default: "statie.(yml|yaml)"]
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
EDIT: #2 is solved by adding source to lines 11 and 21. I'll submit a PR to fix.
Regarding Getting Started
You don't specify that the example code needs to be in
gulpfile.js
, which new users may not know (I didn't).While running
gulp
gulpfile.js
file described, I get this after every file change:EDIT: #2 is solved by adding
source
to lines 11 and 21. I'll submit a PR to fix.