Web Programming in D
aberba
karabutaworld at gmail.com
Wed May 22 18:37:34 UTC 2024
On Wednesday, 22 May 2024 at 16:22:42 UTC, Aravinda VK wrote:
> On Tuesday, 21 May 2024 at 09:37:42 UTC, aberba wrote:
>> [...]
>
> I am using Vibe.d for one of the application that I am
> currently working on. During development, I use the Live
> feature of Diet library so that I need not compile again for
> the HTML changes in diet file.
>
> ```
> dub build --d-version=DietUseLive
> ```
>
> After changing the diet template, browser refresh will show the
> latest changes (No need to run `dub build`).
>
> **Note**: Please note, Live mode will not work as expected if
> lot of embeded D code used inside the diet template. Using Live
> mode is not recommended for production use (Refer:
> https://github.com/rejectedsoftware/diet-ng/?tab=readme-ov-file#experimental-html-live-mode)
Awesome. Interesting to know it works. Due to that statement, I
never tried the live mode.
If I may ask, what other dub packages are you using?
More information about the Digitalmars-d
mailing list