Automate Vite with PhpStorm
HTML-код
- Опубликовано: 2 окт 2024
- Sick and tired of forgetting to run npm run dev every time you open your project? Me too! If you're using PHPStorm, it's trivial to instruct the IDE to run that script automatically. I'll show you how!
Watch thousands of videos, track your progress, and participate in a massive Laravel community at Laracasts.com.
Laracasts: laracasts.com
Laracasts Twitter: / laracasts
Jeffrey Way Twitter: / jeffrey_way
very helpful, i now automated artisan serve, artisan queue:work and npm run dev all automated for my projects since i use Linux and there is no valet, at least one that supports php8.3, thanks Luke
thanks for the tip
Brilliant! Had no idea this was possible 😅
Great video! Could you make a similar one about how to configure debugging in phpstorm for laravel apps? I'm struggling with this.
how you setup phpstrom .?
Just got the error 30 min ago 😂
Wow that is must since is a hasle to do that everytime that is not working. BTY can you please share what kind of laptop are you using at least what processor, ram? since I noticed your PHPStorm runs fast
If you edit the video to make it faster that is OK I also do it when recording but if you can share your specs to considere them for a next laptop in the future.
I have a MacBook Pro with an M3 Pro processor. It’s overkill, and I have it primarily for video editing. I previously had an M1 Mac Mini which ran PHPStorm just as well 👍
Got every day, but with vs code 😅
Hi. Can we do it only for a specific project ?
You configure it on a project-by-project basis, so you'd follow these steps for each project 👍
configuring it works for that project only
How's your computer able to run phpstorm in less than half a second? 😂
Would be amazing to have the same in vscode tho !
There is a way to do this in VS Code. For some reason, YT doesn't let me post links, but search "Ryan Chandler: Automatically running commands in Visual Studio Code projects" and you'll find a great blog post on it.