Skip to content

Instantly share code, notes, and snippets.

@WalrusSoup
Last active September 23, 2024 10:10
Show Gist options
  • Select an option

  • Save WalrusSoup/797c2d777e94b6599c853d2178d413d2 to your computer and use it in GitHub Desktop.

Select an option

Save WalrusSoup/797c2d777e94b6599c853d2178d413d2 to your computer and use it in GitHub Desktop.

Revisions

  1. WalrusSoup revised this gist Jul 24, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion laravel-pint-with-sail-phpstorm.md
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,6 @@ Saving this so I dont forget later.
    4. Output paths to refresh `$FilePath$`
    5. Working Directory `$ProjectFileDir$`
    6. Environment Variables `COMPOSE_INTERACTIVE_NO_CLI=1`
    7. `Auto-save edited files to trigger` the watcher unchecked
    7. `Auto-save edited files to trigger the watcher` unchecked
    8. `Trigger the watcher on external changes` checked
    9. Show console: `on error`. Set to `never` after testing.
  2. WalrusSoup revised this gist Jul 24, 2022. 1 changed file with 2 additions and 2 deletions.
    4 changes: 2 additions & 2 deletions laravel-pint-with-sail-phpstorm.md
    Original file line number Diff line number Diff line change
    @@ -9,6 +9,6 @@ Saving this so I dont forget later.
    4. Output paths to refresh `$FilePath$`
    5. Working Directory `$ProjectFileDir$`
    6. Environment Variables `COMPOSE_INTERACTIVE_NO_CLI=1`
    7. Auto-save edited files to trigger the watcher checked
    8. Trigger the watcher on external changes checked
    7. `Auto-save edited files to trigger` the watcher unchecked
    8. `Trigger the watcher on external changes` checked
    9. Show console: `on error`. Set to `never` after testing.
  3. WalrusSoup revised this gist Jul 24, 2022. 1 changed file with 1 addition and 1 deletion.
    2 changes: 1 addition & 1 deletion laravel-pint-with-sail-phpstorm.md
    Original file line number Diff line number Diff line change
    @@ -11,4 +11,4 @@ Saving this so I dont forget later.
    6. Environment Variables `COMPOSE_INTERACTIVE_NO_CLI=1`
    7. Auto-save edited files to trigger the watcher checked
    8. Trigger the watcher on external changes checked
    9. Show console: `on error`
    9. Show console: `on error`. Set to `never` after testing.
  4. WalrusSoup renamed this gist Jul 24, 2022. 1 changed file with 0 additions and 0 deletions.
    File renamed without changes.
  5. WalrusSoup created this gist Jul 24, 2022.
    14 changes: 14 additions & 0 deletions direction.md
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,14 @@
    Saving this so I dont forget later.

    # Run Laravel Pint from Phpstorm with WSL on save with Laravel Sail


    1. create custom file watcher
    2. For tool to Run on Changes add the full path to vendor/bin/sail via WSL like so `\\wsl$\Ubuntu\home\ozen\projects-sail\MYPROJECT\vendor\bin\sail`
    3. Arguments `bin pint $/FileRelativePath$`
    4. Output paths to refresh `$FilePath$`
    5. Working Directory `$ProjectFileDir$`
    6. Environment Variables `COMPOSE_INTERACTIVE_NO_CLI=1`
    7. Auto-save edited files to trigger the watcher checked
    8. Trigger the watcher on external changes checked
    9. Show console: `on error`