| ▲ | 9dev 2 days ago |
| You're absolutely underestimating the complexity of proper live preview of changes. This is essentially "hot reload" mode, but on the public internet, because it has to run on a public domain. Getting that right is a challenge, and if you don't know why, you haven't attempted to solve it yet. |
|
| ▲ | Lammy 2 days ago | parent | next [-] |
| Why would I want my WIP site to be on the public internet? This has been built into Jekyll for years. Probably other SSGs too but I don't know/use them. jekyll serve --watch --incremental
|
| |
| ▲ | 9dev 2 days ago | parent [-] | | Because you're thinking in the context of a solo developer working on their site locally. You don't need a CMS. People that want to collaboratively work on a website, some of which may lack technical skills, need a way of previewing their edits that doesn't involve running shell commands. | | |
| ▲ | Lammy a day ago | parent [-] | | You're conflating the two unnecessarily. There's no reason Jekyll's server has to run on the editor's local machine. See my other comment about jekyll-admin which can be used collaboratively: https://news.ycombinator.com/item?id=47737324 I don't see much of a difference between `jekyll serve` and the e.g. `service nginx start && service php-fpm start && service mariadb start` that would be needed to run WordPress. In fact I don't run my WIP Jekyll site on the same machine that I edit from. Mine is available only on my personal mesh VPN, but it could easily be available publicly if I wanted it to be. |
|
|
|
| ▲ | wltr a day ago | parent | prev [-] |
| I would appreciate getting into more details. As it sounds like a made-up problem to me. Perhaps you don’t understand how simple it is to have a static website as compared to a dynamic one. Especially to some simple project. |