Answer the question
In order to leave comments, you need to log in
How to assign a hotkey to call the last console command?
When developing, you need to constantly call the console command:
poke on the console (focus) → press the up button (to call the last command) → press Enter → return to the code.
I would like to simplify this.
Ideally, just press "F5" for this.
Answer the question
In order to leave comments, you need to log in
Make a Run/Debug Configuration for a frequently required command
AND be able to call it with a hotkey or a button on the panel.
-------
Easier through composer scripts.
Add script to composer.json
scripts: {
"feed:update": "@php artisan feed:update"
}
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question