This one-liner should also work:
(cd /path/to/your/app && npm start)
Note that the current directory will be changed to / path / to / your / app after executing this command. To save the working directory:
(cd /path/to/your/app && npm start && cd -)
I used this solution because the program configuration file that I edited then did not support specifying command line arguments.
babca Jan 27 '19 at 17:34 2019-01-27 17:34
source share