Skip to content

Commit

Permalink
watching with tailwind
Browse files Browse the repository at this point in the history
  • Loading branch information
randallard committed Nov 29, 2024
1 parent f2eab47 commit 42fbdd3
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Trunk.toml
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
[serve]
# The address to serve on.
address = "127.0.0.1"
# The port to serve on.
port = 8080
# The path to serve at.
path = "/"

[watch]
ignore = ["./dist/tailwind.css"]
watch = ["styles", "src"]

[build]
target = "index.html"
target = "index.html"

[[hooks]]
stage = "pre_build"
command = "cmd"
command_arguments = ["/C", "tailwindcss", "-i", "./styles/tailwind.css", "-o", "./dist/tailwind.css"]
6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 42fbdd3

Please sign in to comment.