Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

pekkorina's avatar

Laravel - Local Machine Slow to Reflect Changes

I already hosted my laravel project and I'm surprised that any changes I make inside the host's file system reflects immediately while every change I make in my local machine takes 20 seconds ++. I use php artisan serve and npm run dev to run my project in google chrome. Any help is appreciated, thanks!

0 likes
7 replies
gych's avatar
gych
Best Answer
Level 29

Which IDE do you use?

1 like
pekkorina's avatar

@gych Thanks for responding! I'm using VScode for the IDE. I created my project by following the instructions from the documentation if that info helps.

gych's avatar

@pekkorina Do you use a lot of extensions in your IDE ? Try to disable all and see if that helps. Also monitor the RAM and CPU usage while working on your application.

1 like
pekkorina's avatar

@gych yeap, i think that did it. Changes take about 3 sec max now. You are amazing!

1 like
gych's avatar

@pekkorina Nice I'm glad it solved your issue. Don't forget to close your thread by selecting the best answer.

J_Spaeth's avatar

Does the system run under windows?

If yes, please make sure that you are using wsl2 with ubuntu.

1 like

Please or to participate in this conversation.