To configure your command to open in your editor of choice, you can configure the following environment variables, or publish the configuration:
OPEN_ON_MAKE_EDITOR=code # Optionally set some flags, i.e. OPEN_ON_MAKE_FLAGS="--reuse-window"
While writing about this, I opened a PR to disable the listener via configuration that was accepted yesterday.
open-on-make.enabled configuration option allows you to explicitly disable the package in a given environment, or in cases where a team member cannot use it for whatever reason:
Being able to disable the package will be helpful in a team setting where not everyone might not have the same preferences or if you have some other reason to disable it in a given environment.
To give this package a try in your project, head over to the GitHub repo or install it with
composer require --dev ahuggins/open-on-make.
Source link https://laravel-news.com/open-files-on-artisan-make