IntelliJ IDEA 2017.1 Help

Startup Tasks

On this page, create a list of run/debug configurations to be launched automatically on the project start. This may be helpful if you run some Grunt or Gulp.js tasks or npm scripts on a regular basis. All you need is just add the run/debug configurations that launch such tasks or scripts to the list of startup tasks.

On this page:


File | Settings | Tools | Startup Tasks for Windows and Linux
IntelliJ IDEA | Preferences | Tools | Startup Tasks for macOS

Table of Controls

Run Configuration This read-only field shows the names of the run configurations to be launched on the project start.
Shared When this check box is selected, the corresponding task is available for other team members. Note that you can share only those run configurations that are already marked as shared in their definitions.

If the directory-based project format is used, the settings for a run/debug configuration are stored in a separate .xml file in the .idea\runConfigurations folder if the run/debug configuration is shared, or in the .idea\workspace.xml file otherwise.

If the file-based format is used, the settings are stored in the .ipr file for shared configurations, or in the .iws file otherwise.

/help/img/idea/2017.1/new.pngAdd Click this button to add one of the run/debug configurations that are currently defined in the project to the list of tasks to be executed on the project start. Choose the relevant configurations from the list or choose Edit Configurations to open the Run/Debug Configurations dialog and define a required configuration in it.
/help/img/idea/2017.1/delete.pngRemoveClick this button to delete the selected task from the list.
/help/img/idea/2017.1/edit1.pngEditClick this button to open the Run/Debug Configurations dialog with the settings from the selected configuration and update them as required.

See Also

Last modified: 18 July 2017