Skip to content

Instantly share code, notes, and snippets.

View jarrodtaylor's full-sized avatar
🏖️
Working from home

Jarrod Taylor jarrodtaylor

🏖️
Working from home
View GitHub Profile
---
#layout: !layout.html
---
<h1>Welcome</h1>
<p>Hello, world!</p>
website % alternator path/to/source path/to/target --watch --port 8080
[watch] watching path/to/source for changes
[serve] serving path/to/target at http://localhost:8080
^c to stop
$ alternator --help
USAGE: alternator <source> <target> [--watch] [--port <port>]
ARGUMENTS:
<source> Path to your source directory.
<target> Path to your target directory.
OPTIONS:
-w, --watch Rebuild <source> as you save changes.
-p, --port <port> Serve <target> on localhost:<port>.
html {
background-image: repeating-linear-gradient(#efefef 0 1px, transparent 1px 100%);
background-size: 15px 15px;
}