Delete Manifest in Bassets and Rebuild Collections
There is a nifty little command to rebuild all your collections in Basset.
php artisan basset --delete-manifest
Now, to rebuild all your collections from basset config, you punch in the usual:
php artisan basset:build
This will build all collections. To build a particular collection you can give its name as the last parameter
php artisan basset:build admin
However, doing this Basset throws an error, stating it cannot read the rebuilt collection.json
file in app/storage/meta
.
You can get around this, by modifying perms manually through the terminal
chmod -R 777 app/storage/meta
Written by Rizwan Iqbal
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Laravel
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#