Hacker News new | ask | show | jobs
by tazu 909 days ago
I just use the Tailwind node package to watch for HTML class name changes in my Go templates, which recompiles the CSS served by the Go HTTP server.
1 comments

how does the Node package handle Go {{ $foo }} in the templates?
It just ignores it and looks for HTML class names as far as I can tell. I think it's a "dumb regex search" type thing.