Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Can I automatically run a terminal command when opening a PHPStorm project?

Tags:

gulp

phpstorm

I've got a Gulp workflow that I'd like to automatically launch upon opening my project in PHPStorm. Is this possible?

like image 942
David Angel Avatar asked Jan 14 '15 14:01

David Angel


1 Answers

Not possible at the moment.

https://youtrack.jetbrains.com/issue/WEB-11818 -- watch this and related tickets (star/vote/comment) to get notified on progress.


UPDATE: This functionality is now implemented and available since PhpStorm v10 / WebStorm v11 -- look for it under Settings/Preferences | Tools | Startup Tasks.

This allows you to execute any existing (or create new) Run/Debug Configurations on project opening. This includes Gulp/Grunt tasks as they can be invoked via Run/Debug Configurations functionality.

like image 149
LazyOne Avatar answered Sep 16 '22 11:09

LazyOne