Closed hiteshdua1 closed 3 years ago
I am trying to run 2 tasks with npm run all
The first task takes an argument and the second task doesn't run. :(
"prettier:fix-changed": "pretty-quick --write --branch=origin/master", "flow:to-ts": "flow-to-ts --prettier --write --delete-source", "flow:convert-ts": "npm-run-all -l \"flow:to-ts {@}\" -- prettier:fix",
Whereas , When I change the order, It works fine
"flow:convert-ts": "npm-run-all -l prettier:fix \"flow:to-ts {@}\" --",
Any help would be appreciated.
It's fixed, I just needed to add -- at the end
--
"flow:convert-ts": "npm-run-all -l \"flow:to-ts {@}\" prettier:fix --",
I am trying to run 2 tasks with npm run all
The first task takes an argument and the second task doesn't run. :(
Whereas , When I change the order, It works fine
Any help would be appreciated.