omaresmael / cache-watcher
Laravel package that monitors the changes on the cacheable files and refresh them
v1.0
2024-11-24 11:38 UTC
Requires
Requires (Dev)
- orchestra/testbench: ^9.6
- roave/security-advisories: dev-latest
README
This package saves you some time wondering why your code is not working
It monitors the cacheable files (config, routes, events), and runs optimize
command on every change applied on the them
Installation
You can install the package via composer:
composer require omaresmael/cache-watcher --dev
In your project, you should have the JavaScript package chokidar
installed. You can install it via npm
npm install chokidar --save-dev
Usage
Run php artisan cache:watch
License
The MIT License (MIT). Please see License File for more information.