You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As more flags are added to devtool CLI, they will start to pollute the flags that a program may want to use for whatever reason.
Maybe when a full stop is present, --, anything after that will be present in the process.argv for the running program, and the other flags (e.g. --browser-field) will be stripped.
devtool app.js --browser-field -- -q -b --blah
The text was updated successfully, but these errors were encountered:
Sounds good - is consistent with the way other tools solve this problem 👍
EDIT: I guess this is related (maybe also for #10 and #11) but I quickly commented out the lines adding .js extension to the file argument and I got this error messsage: Unknown Flag: -harmony_arrow_functions. Run fly -h to see the options.
which seems to show node flags being passed to the program instead. Not sure if that should be a new issue or dealt with here?
As more flags are added to
devtool
CLI, they will start to pollute the flags that a program may want to use for whatever reason.Maybe when a full stop is present,
--
, anything after that will be present in theprocess.argv
for the running program, and the other flags (e.g.--browser-field
) will be stripped.The text was updated successfully, but these errors were encountered: