What is this?
Well, the styles and data behind my personal blog page...
npm run clean – as you'd expect
npm run build – builds (a single time, no watch, no nothing)
npm run rebuild – clean & build
npm run watch – watches Jekyll content files, however not
_config.yml. → localhost:4000
npm start – alias to that
npm superwatch – deluxe version, watching for _config.yml changes (task:
restart) and restarts browser-sync (
reload) as needed. → localhost: 4001
npm run deploy – uploads to server according to credentials (securely placed outside), using lftp
_config.ymlchanges can cause a 2-3s delay, in particular together with live reloading, but will eventually load.
.yamlmenu files, added/removed files (in particular the automatic listing of blog entries) might not be picked up by incremental watch
npm run buildhelps. (
rebuildis overdone.) That`s why
→ dedicated touches of the .yaml/iteration-bearing .htlm-File also help. And avoid manual refresh needs.
touch _pages/blog.md→ updates bloglist (iteration)
touch _includes/header.html→ updates bloglist (menu-header.yaml)