Skip to content

Should livewire-components.php be tracked? #252

@fgilio

Description

@fgilio

This is not a bug nor a feature request. Should livewire-components.php be tracked in git?

Just had an error while deploying a project because Livewire couldn't find a component. I had a gut feeling that it was something in livewire-components.php and indeed it was. The file was outdated and that component was missing.
I tried running php artisan livewire:discover but it failed, I guess it was a file permissions error (using Laravel Forge).

Ended up fixing it by telling git to track the file and deploying again.

EDIT 2019-09-14:
The permissions errors when running php artisan livewire:discover where 100% on my side. So I guess nobody has to worry about that.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions