omaresmael/cache-watcher

Laravel package that monitors the changes on the cacheable files and refresh them

v1.0 2024-11-24 11:38 UTC

This package is auto-updated.

Last update: 2024-12-25 09:03:29 UTC


README

Latest Version on Packagist Total Downloads

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.