New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Live reloading #1
Comments
|
You'd be better off using the static binary for tailwind. |
|
Hi @darccio, You'll laugh, but when developing the The only thing that confuses me is the implementation:
I would be glad to have a discussion (or even PR) on this topic, in order to make a truly correct decision on the development of the project. The main goal is to make it as convenient and simple as possible for the end developer 😉 |
|
Hi @17twenty, I'm not really clear about which Please expand the topic completely, if you can 🤔 |
|
@koddr there's a standalone that doesn't require npm - https://github.com/tailwindlabs/tailwindcss/releases/tag/v3.3.3 You can use it in dev/JIT mode as well as final bundle. It's very good and my project autofetched the correct one per architecture 😅 I'd recommend that over the NPM dependency to keep things subjectively cleaner and self contained |
|
https://tailwindcss.com/blog/standalone-cli the article even recommends it for non NPM dependent projects 💖 |
|
Please, check version It already has live-reloading enabled by default in the I'm still thinking about the possibility of adding this mode for Go code. I'll close this issue for now, but you can always reopen it if you have any thoughts on this! 😉 |
|
@koddr Thanks! |

Required check list:
Is your feature request related to a problem? Please describe.
Gowebly seems a nice approach to web development in Go, without going down the road of another framework. The only thing I missed while testing it was live reloading for Tailwind.
As Gowebly focuses on reducing manual work in boilerplate, I think it's worth to dedicate time to include support for
airas the most popular solution for this.Describe the solution you'd like:
The main focus would be to run
npx tailwind -i "assets/styles.css" -o "static/styles.css" --watcheverytime we change styles.I would appreciate your thoughts on this, and how to implement it so other commands can run on modification of other files.
The text was updated successfully, but these errors were encountered: