Fix css hot reload

This commit is contained in:
Florian RICHER 2024-01-07 00:23:12 +01:00
parent 315474b708
commit cf65d5b8e9
3 changed files with 9 additions and 0 deletions

View file

@ -100,7 +100,9 @@ opt-level = 'z'
name = "portfolio"
site-root = "target/site"
site-pkg-dir = "pkg"
style-file = "style/main.scss" # Important for Hot Reload to work properly (File must exist)
tailwind-input-file = "style/portfolio.css"
watch-additional-files = ["data_src"]
assets-dir = "public"
site-addr = "127.0.0.1:3000"
reload-port = 3001