Webstorm runs a wrong npm configuration
I have two different npm configuration. They are simmilar but has different script arguments.
So when I run first created config it goes fine and work as expected and console output is fine. BUT when I run second configuration its console output is fine two BUT in fact I see that the first configuration is executing!
I have .bat scripts that do the same thing and everything is work well. So I don't think there is a problem with configuration, because I just moved config from .bat to IDE.
This is the first config and results:



Here is the seconf one:



Please sign in to leave a comment.
But screenshots show that the arguments specified in your second configuration are passed in the second case - so the IDE starts your second configuration with correct arguments. If the results of its execution are not expected, it's unlikely the IDE fault - all it does is sterting npm and passing your args to it
When I run these commands from cmd they work fine. As I understand webstorm is responsible to run npm, so maybe it caching config somewhere and use it further.
it just runs npm with specified args, nothing more...