GetPublii / Publii

The most intuitive Static Site CMS designed for SEO-optimized and privacy-focused websites.
https://getpublii.com
GNU General Public License v3.0
6.06k stars 407 forks source link

[Feature Request]: Hot code releoad and preview in the same window in continuous #1325

Open hubyhuby opened 5 months ago

hubyhuby commented 5 months ago

Feature Description

Using publii and coding in any language, means previewing the result every 30 seconds. This is very time consuming, that why a lot of framewotrk offer "hot code reloading".

The idea is you DO NOT have to push any preview button, :

1 the software monitor your changes in the post . Basically when you push save

2 The preview is generated automatically without asking in the background.

3 When you go in the preview page inside publie, to be developped , you can see the current preview version. Tada!

This feature requires to implement a chrome webbrowser of some kind in the publii app (already using electron). Not sure of the technical.

A workaround that would be very nice, is to open the preview in the SAME chrome or firefox tab . As we click preview all the time in 15 min I have 30 tabs preview x)

image

Uzayer commented 4 months ago

Would love this feature!