Vite page reload on terminal but not refresh browser
Hello everyone, auto reload doesnt work for me. on terminal it says vite page reload but browser is not being refresh. help me please!
Solution:Jump to solution
following this tut
https://codingwisely.com/blog/enhancing-laravel-filament-v3-development-with-vite-and-livewire-hot-reload...
Coding Wisely
Enhancing Laravel Filament V3 Development with Vite and Livewire Ho...
As a developer, rapid iteration and real-time feedback are crucial for efficient web development. In this article, we delve into the integration of Vite and Livewire hot reload into Laravel...
36 Replies
is this possible when im adding form inputs?
Yes. If you define the right refresh paths in your Vite.config.js.
in my terminal it says [vite] page reload
but the input is not showing up
Looks ok to me. Are you serving the app on ‘localhost’ or via valet/herd?
localhost using sail
Ok. Not going to be of much help there.
but it should refresh right?
auto reload works with app/Filament?
Vite works best in laravel with an actual tld though. So it’s probably something to do with sail.
Sorry, not sure then.
Typically though, localhost needs the port number too to work correctly.
Maybe try a google search or laracasts forum search to see if others have had similar issues. But I would be surprised if it had anything to do with Filament.
i mean, its suppose to reload right? if i wasa working with valet/herd
I would assume so.
ok. thanks. im going to look for alternative
ok. i got it working with laragon
Solution
following this tut
https://codingwisely.com/blog/enhancing-laravel-filament-v3-development-with-vite-and-livewire-hot-reload
Coding Wisely
Enhancing Laravel Filament V3 Development with Vite and Livewire Ho...
As a developer, rapid iteration and real-time feedback are crucial for efficient web development. In this article, we delve into the integration of Vite and Livewire hot reload into Laravel...
yeah.. geez...
😂🤪
i thought its wsl2 thing..
thank god. i can start developing now
Valet and herd make it really easy. I think the window version of herd is scheduled for release in the next week or so.
If it hasn’t been released already.
Just one of those caveats to developing in windows.
didnt know there is a due windows release
Also why I use a Mac and can justify the expense. But no shade.
thanks for the info
i will switch to mac soon
Glad you got it working though.
time to ditch gaming laptop aka portable pc
It’s so nice on Mac.
initially was afraid of terminal when i bought this laptop
then switch to wsl2 happen
Well you already have the gaming laptop. It’ll still be there when you get the Mac too. Right tool for the job, right?
yeah. but i would love to switch to mac. because this machine needs to be plugged when using it. it only last an hour or less. lol. normal for gaming laptop
Yea, the whole terminal shitshow on windows is ridiculous.
But we have to do what we have to do.
There’s also the whole issue of developing on windows when 99% or your servers aren’t IIS and are based on Unix or Linux, so developing on Mac or Linux just makes a lot more sense.
It’s closer to the metal by default.
yeah.. just the other day. i was stuck making sail work on wsl2
3days wasted
Don’t doubt it. But I’m also biased and hate docker. 😂
I don’t need or want the abstraction for something the machine can just do out of the box.
haha but ive decided. i will switch to mac soon. going to embraee linux
Either will be better than windows. But do what’s right for you.
Don’t get me wrong though, windows has its place too. Just not in what we do. IMHO.
yeah. thank you sir. its 7am here now. time to rest. finally. everything is working. i can focus on developing now
Get some rest. 😀
7pm here lol:
thanks!!
dinner time
Sounds like breakfast for you.
my working hours is at night. which is very bad tbh..
What ever pays the bills.