How to add command line arguments to 'react-native start' command in WebStorm?

Hi.
I am completely new to WebStorm

 

I am using the IDE to develop react-native apps.

So when I click on run project, the 'react-native start' and 'react-native run-android' commands are executed by default.

 

What I want to achieve is to put a command line argument in 'react-native start' command which is '--reset-cache'. So the whole command should look like 'react-native start --reset-cache'

Here is the screenshot

 

What I am doing currently is opening 2 terminals in the IDE and then writing the commands.

Please help!

Thank you

0
Avatar
Permanently deleted user

Yes I have, unfortunately it applies to 'react-native run-android' command and not 'react-native start' command.

0

Sorry, my mistake, didn't read your comment carefully enough:( Not possible currently, please vote for https://youtrack.jetbrains.com/issue/WEB-25156

0
Avatar
Permanently deleted user

Done. Thank you for the support :) Have a nice day

 

0

请先登录再写评论。