Skip to content

Conversation

jasoryeh
Copy link

Hi, oddly enough, I use Valet+PHPMonitor and Herd separately and at times swap between them, and discovered that once Herd is installed, the Vite plugin breaks when I try to use this plugin with pure valet sites since the plugin looks for Herd configs first and ignores valet after that.

To remedy this, I added an env LARAVEL_PREFER_DEVELOPMENT_ENVIRONMENT (which can be herd or valet) that will prefer one or the other if both exist.

I also added "smarter" detection for these certificates by checking for certificates of the current site in all available directories first instead of choosing Herd first just because its valet directory exists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant