Open huang12zheng opened 2 years ago
413c376 , It's just a sample
I'm happy to move this to trace if you'd like to send up a PR
but I'm having some problems, I use --verbose, but the command inside doesn't get this --verbose.
info about --verbose happen only one time , it should do it many time.
melos --verbose run tag
[ 0.004s] melos run tag
[ 0.015s] └> melos run tag:git && melos run tag:pubspec && melos run tag:gitstatus
[ 0.015s] └> RUNNING
>>>
### loss verbose
>>>
[ 29.919s]
[ 29.919s] melos run tag
[ 29.919s] └> melos run tag:git && melos run tag:pubspec && melos run tag:gitstatus
[ 29.919s] └> SUCCESS
So I might have to think how do I handle this.
Maybe add a MELOS_VERBOSE
env that gets set (if top level melos has --verbose) and passed to child processes (process exec in utils), like we did to pass terminal width detection down to child processes:
https://github.com/invertase/melos/blob/c3b13c0286dc833da3fb27d74ef68fec453836ae/packages/melos/lib/src/common/utils.dart#L89-L95 https://github.com/invertase/melos/blob/c3b13c0286dc833da3fb27d74ef68fec453836ae/packages/melos/lib/src/common/utils.dart#L266
We also did this for MELOS_PACKAGES
Any progress on this?
Description
exec
andrun
it look like as followor
ref: #205
Requirements
Addation My expect sample: