Commit graph

21 commits

Author SHA1 Message Date
Svilen Markov
27af0400c0 Tweak impl for handling config renames 2025-02-17 22:28:10 +00:00
Sergio Rubio
76a80ff034 Add clarifying comment 2025-02-17 19:17:49 +01:00
Sergio Rubio
f7f333ad52 Auto-reload config file on RENAME
Some editors (like Vim), create a temp file when saving, then replace
the file being edited with the temp file. This causes the FS notify
event to be RENAME, not WRITE, so auto-reload misses this.

In addition to that, the file is removed from the watcher and the
auto-reload functionality stops working entirely after the first RENAME.

https://github.com/fsnotify/fsnotify/issues/255 describes this.
2025-02-17 19:08:54 +01:00
Svilen Markov
825ef84da5 Add comment 2025-02-09 00:39:51 +00:00
Svilen Markov
dbcc13a5cf Allow inserting env variables anywhere in the config 2024-12-16 23:59:25 +00:00
Svilen Markov
ffe053ffc5 Even more config watcher fixes 2024-11-30 12:54:19 +00:00
Svilen Markov
1785af4749 More config watcher fixes 2024-11-30 12:37:56 +00:00
Svilen Markov
98b4b7330e Further fixes for config file watcher 2024-11-30 12:23:57 +00:00
Svilen Markov
d6470ae814 Somewhat working fix for config watcher 2024-11-29 21:45:50 +00:00
Svilen Markov
a816d1a913 Update error messages 2024-11-29 21:12:10 +00:00
Svilen Markov
2c03316f86 Update error 2024-11-29 21:06:58 +00:00
Svilen Markov
6886716e67 Add comment 2024-11-29 18:28:10 +00:00
Svilen Markov
90fbba600f Restructure & refactor codebase 2024-11-29 16:34:15 +00:00
Svilen Markov
2b0dd3ab99 Refactor 1/2 + new stuff
* Refactor CLI
* Add config:print command
* Add diagnose command
* Allow including other files in config
* Watch for file changes and automatically restart server
2024-11-24 15:39:14 +00:00
Svilen Markov
ffb1bccb10 Move default logo text to the template 2024-08-27 00:15:55 +01:00
Svilen Markov
f57bdeec12 Update branding config 2024-08-10 19:43:50 +01:00
Svilen Markov
9899f6b761
Merge branch 'release/v0.6.0' into main 2024-08-10 18:47:39 +01:00
Svilen Markov
3fea166274 Add page width customizability 2024-08-04 23:40:58 +01:00
Svilen Markov
738bcf8bcb Add group widget 2024-08-01 21:34:07 +01:00
David Leonard
3cfbe0c89b Allow some branding customization. 2024-05-17 14:37:05 -07:00
Svilen Markov
ec8ba40cf0 Initial commit 2024-04-27 20:10:24 +01:00