Skip to content

Instantly share code, notes, and snippets.

@josenetoz
Created April 14, 2025 12:11
Show Gist options
  • Save josenetoz/0f2a08cb0512293c4bdee82f40d5aae1 to your computer and use it in GitHub Desktop.
Save josenetoz/0f2a08cb0512293c4bdee82f40d5aae1 to your computer and use it in GitHub Desktop.
Linux + Laravel Sail + Laravel Pint Watcher

Para rodar o Linux + Laravel Sail + Laravel Pint com Wacther do PHPStorm

  1. Crie um Custom File Watcher
  2. Em Tool to Run:
    1. Program: Adiciona o caminho completo para o executável do sail CAMINHO_DO_PROJETO/vendor/bin/sail
    2. Arguments: Adicione pint $FileRelativePath$
    3. Output path to refresh: Adicione $FilePath$
    4. Working Directory: Adicione $ProjectFileDir$
    5. Environment Variables: Adicione COMPOSE_INTERACTIVE_NO_CLI=1
  3. Desabilite o caixa de Auto Save
  4. Habilite a caixa Trigger the watcher on external changes
  5. Show console: on error , e depois de testar never
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment