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

Комментарии • 15

  • @drugoviic
    @drugoviic 4 месяца назад +1

    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

  • @Flankymanga
    @Flankymanga 4 месяца назад +1

    thanks for the tip

  • @daaaMook
    @daaaMook 4 месяца назад

    Brilliant! Had no idea this was possible 😅

  • @JanKowalski-dn9si
    @JanKowalski-dn9si 4 месяца назад +1

    Great video! Could you make a similar one about how to configure debugging in phpstorm for laravel apps? I'm struggling with this.

  • @lmottasin
    @lmottasin 4 месяца назад

    how you setup phpstrom .?

  • @ahmedlamti6713
    @ahmedlamti6713 4 месяца назад

    Just got the error 30 min ago 😂

  • @devjesusc
    @devjesusc 4 месяца назад

    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

    • @devjesusc
      @devjesusc 4 месяца назад

      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.

    • @96downlu
      @96downlu 4 месяца назад

      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 👍

  • @deepakplay
    @deepakplay 4 месяца назад

    Got every day, but with vs code 😅

  • @ouro-akpokhaled4440
    @ouro-akpokhaled4440 4 месяца назад

    Hi. Can we do it only for a specific project ?

    • @96downlu
      @96downlu 4 месяца назад

      You configure it on a project-by-project basis, so you'd follow these steps for each project 👍

    • @drugoviic
      @drugoviic 4 месяца назад

      configuring it works for that project only

  • @olivierperrier114
    @olivierperrier114 4 месяца назад

    How's your computer able to run phpstorm in less than half a second? 😂
    Would be amazing to have the same in vscode tho !

    • @96downlu
      @96downlu 4 месяца назад

      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.