Commit bcf226ff authored by Aral Balkan's avatar Aral Balkan

Live sync no longer builds draft posts.

parent 2359a184
title: "DOS to Windows to Mac to Linux: the story of half a lifetime in computing platforms"
date: 2018-07-10T09:14:38Z
draft: true
I was gifted my first computer by my dad when I was seven years old. The year was 1983 and the machine was an IBM XT Compatible running DOS. It had 640KB of RAM and a 4-colour CGA screen. It also came with a BASIC manual. That computer and that manual sparked my lifelong fascination with technology.
......@@ -25,7 +25,11 @@ runInBackground ../sync "npm run sync"
# as localhost:<port> regardless of the setting of baseURL in the config.toml
# file. Since we do not have a separate build/deploy phase to the live server,
# we want the site as it would exist on the server to exist on the client.
hugo server --buildDrafts --renderToDisk --baseURL= --appendPort=false
# Note: if you do not want a post live-synced, mark it as draft: true in the
# ===== front matter.
hugo server --renderToDisk --baseURL= --appendPort=false
# Don’t exit. Shutting off this process should also kill
# the two other background processes we started
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment