Commit 9215becb authored by Aral Balkan's avatar Aral Balkan

Add post on new Site.js auto updates for production servers feature

parent 209ad6bb
title: "Site.js: now with auto updates in production"
date: 2019-11-03T11:12:31Z
videos: ['']
- site.js
- auto update
- production
- personal web
- web server
- static site
- javascript
- js
- node.js
draft: false
<video controls poster=''>
<source src='' type='video/mp4'>
<source src=''>
<p>Sorry, your browser doesn't support embedded videos. But that doesn’t mean you can’t watch it! You can <a href=''>download this video directly</a>, and watch it with your favourite video player.</p>
<figcaption>A quick demonstration of the new auto-reload feature.</figcaption>
[Site.js]( version 12.10.2 introduces [automatic updates in production](
## Why auto update?
Site.js is a personal web tool for individual developers – not startups or enterprises. It’s a tool for building everyday things for everyday people that do exactly what they say on the tin and nothing more.
In other words, Site.js is a tool for building [small technology](
With that in mind, it goes without saying that the sites and apps you build and serve with Site.js will not have dedicated operations teams to keep them up to date and secure. And while you may be a dev-ops unicorn who also plays smashing electric guitar, not everyone is. And the people who will run their own instances of the things you build with Site.js definitely won’t be. So Site.js has to be your operations team and come with secure defaults out of the box.
## Because security
One of the biggest security issues in tech is running outdated software. While I was running my servers on nginx, I couldn’t tell you when they were last upgraded as the process was so convoluted. With Site.js, deploying a server has to be deploy and forget. We cannot assume that folks are going to update their servers.
So auto updates of production servers is a crucial security feature.
## Manual updates during development and testing
Automatic updates are a feature [for production servers]( only (in other words, whenever you launch Site.js as a service/daemon using [the `enable` command](
When running Site.js during development and testing, you can check for updates manually using [the `update` command](
{{< like_this_fund_us >}}
\ No newline at end of file
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