Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Export configuration interface #5

Merged
merged 1 commit into from Jul 4, 2022

Conversation

timacdonald
Copy link
Contributor

Hey @ElMassimo!

Thank you so much for this fantastic plugin. Recently the Laravel team introduced Vite as our first-party recommended build tool.

We wanted to provide an easy way for developers to refresh the browser when they change their views, but provide some nice defaults out-of-the-box for Laravel projects. We opted to utilise your plugin under the hood rather than trying to recreate the wheel.

We implemented our own interface for the config values, but I was hoping you would be open to exporting the type so we can utilise it directly instead.

Totally understand if this isn't something you want to do - and thank you again for such a great plugin! It is super useful.

@ElMassimo
Copy link
Owner

Hi Tim! Glad that it's useful!

Creating a preset for Rails might be nice as well, would you share your config values for Laravel?

@ElMassimo ElMassimo merged commit d2c1bde into ElMassimo:main Jul 4, 2022
@ElMassimo
Copy link
Owner

Released vite-plugin-full-reload@1.0.1. Thanks Tim! 😃

@timacdonald
Copy link
Contributor Author

Thank you for merging @ElMassimo! We are providing a default path list to watch...

app/View/Components/**
resources/views/**
routes/**

@timacdonald timacdonald deleted the export-config branch July 5, 2022 03:29
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.

None yet

2 participants