What's your development env? #885
Replies: 5 comments 3 replies
-
Which part of it do you find slow? |
Beta Was this translation helpful? Give feedback.
-
@vitezprchal if you are referring to the slowness of the dev process itself, (like creating the project, building assets, reloading things) you can use a template like so - https://github.com/amoghyermalkar123/templ-quickstart |
Beta Was this translation helpful? Give feedback.
-
Specifically, when I recompile, my current stack using air & gin takes around ~2000ms just to refresh. Any suggestions would be appreciated |
Beta Was this translation helpful? Give feedback.
-
GNU emacs with LSP and tree-sitter works great. For building it's generate-lines and a makefile. |
Beta Was this translation helpful? Give feedback.
-
I use helix for editing, and I also use air for hot reloading, like you all do. I develop in a container, it allows me to stage a network environment of the application and be a part of it, it's also a nice replicable environment. I'd much like to go with an embedded database like SQLite, because then I could run everything locally, but postgres is just so much more powerful. A thing that can help with build time is to use cmd = "go build -o ./executable -gcflags '-N -l'" # Unoptimized build
bin = "executable" in your |
Beta Was this translation helpful? Give feedback.
-
Hey, I'm finding my current development environment for go and go templ to be really slow.
I'm currently using air, gin, templ, tailwind and thats it.
Could you share what setup you're using that might help speed things up?
Beta Was this translation helpful? Give feedback.
All reactions