__________.__ ___________.__ .__ .__
\______ \ |__ ______\_ _____/| | |__|__ __|__|______
| ___/ | \\____ \| __)_ | | | \ \/ / \_ __ \
| | | Y \ |_> > \| |_| |> <| || | \/
|____| |___| / __/_______ /|____/__/__/\_ \__||__|
\/|__| \/ \/
Elixir Watch Command
Provides the ability to watch changes in specified files or folder and automatically run elixir.
This package has been developed by H&H|Digital, an Australian botique developer. Visit us at hnh.digital.
This package requires ext-inotify which can be installed by:
$ pecl install inotify
You will likely need to enable this extension. You can use the following (may not match your specific OS settings).
$ echo "extension=inotify.so" | sudo tee /etc/php/7.1/mods-available/inotify.ini && sudo ln -s /etc/php/7.1/mods-available/inotify.ini /etc/php/7.1/cli/conf.d/20-inotify.ini
Via composer:
$ composer require-dev bluora/laravel-php-elixir-watch ~3.0
Enable the service provider by editing config/app.php:
'providers' => [
...
Bluora\PhpElixirWatch\ServiceProvider::class,
...
];
Watch configuruation item is only used by the elixir:watch console command.
In your elixir yaml configuration file, add watch
and list each of the folders you want to automatically run the elixir command.
watch:
- PATH_RESOURCES?filter=!php
Please see CONTRIBUTING for details.
The MIT License (MIT). Please see License File for more information.