-
-
Notifications
You must be signed in to change notification settings - Fork 9.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix "dev" script to be cross-platform #2922
Conversation
Codecov Report
@@ Coverage Diff @@
## master #2922 +/- ##
=======================================
Coverage 35.99% 35.99%
=======================================
Files 429 429
Lines 9503 9503
Branches 972 976 +4
=======================================
Hits 3421 3421
+ Misses 5448 5423 -25
- Partials 634 659 +25
Continue to review full report at Codecov.
|
Thanks, will test |
package.json
Outdated
@@ -16,8 +16,8 @@ | |||
"coverage": "codecov", | |||
"danger": "danger", | |||
"dev": "concurrently --kill-others \"yarn dev:ts\" \"yarn dev:js\"", | |||
"dev:js": "lerna exec --parallel -- node %LERNA_ROOT_PATH%/scripts/watch-js.js", | |||
"dev:ts": "lerna exec --parallel -- node %LERNA_ROOT_PATH%/scripts/watch-ts.js", | |||
"dev:js": "lerna exec --parallel -- cross-env-shell node $LERNA_ROOT_PATH/scripts/watch-js.js", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It fails unless I replace $
with \\$
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Added. Works for me too
Issue: After my changes in "ts distribution", the
dev
script works only in windowsWhat I did
I've used cross-env-shell to fix this.