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

前端 未结 1 481
小蘑菇
小蘑菇 2021-02-09 11:32

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

1条回答
  •  遥遥无期
    2021-02-09 11:49

    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.

    0 讨论(0)
提交回复
热议问题