Are you the only one in the team having this issue or are other team members also experiencing it?
Feb 19, 2024
9
Level 1
Docker Compose + Laravel Inertia + Vite is extremely slow
Now I know docker-compose can be slower than the sail route but our team prefers it. This is a new project that I'm doing the setup for.
When building assets for production using vite the responses are reasonably quick, and when running 'npm run dev' it slows down a bit (still okay) but then when I make changes to any vue files, I'm waiting more than a minute for a response.
Is there a way for me to speed this up as developing like this is going to be extremely cumbersome, I've also tried 'vite --watch' but that does not seem to pick up any changes.
Laravel: 10.44.0
Vite: 5.1.1
Docker-image: php:8.2
Let me know if you need more info.
Please or to participate in this conversation.