PhpStorm script startup automation

1 min


How to automatically run scripts, commands, etc. on PhpStorm.

Let’s look at an example of starting compilation webpack.

Open the add settings:

Next, select npm

We determine our path and our teams, by analogy with the screen:

You can also run some bash script:

And then run it before launching the webpack:

For example, you can make certain pages open in a storm, require changing their contents, and then pressing enter in the console, the script would continue to work and start compiling webpack.


0 Comments

Leave a Reply