-
-
Notifications
You must be signed in to change notification settings - Fork 195
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 upload and monitor is already active. #3661
base: develop
Are you sure you want to change the base?
Conversation
Fix "the task 'platformio: upload and monitor (Project Name)' is already active." Fix areTasksEqual return false when running upload and monitor task the running task has args like ['--upload-port', 'COM0', '--monitor-port', 'COM0'] added.
Do you mean that you overrode the automatic upload/monitor port via Port Switcher? |
Yes, I don't konw if this fix is perfect, but since I fixed this, i haven't get any problem, and life has gotten a lot easier. |
Maybe a better way to do this is by adding specified port args to new task before areTasksEqual, bet since these args is already been added somewhere after areTasksEqual, modifiy the args before areTasksEqual may need undo the modify after. |
This issue has been automatically marked as stale because it has not had recent activity. Please provide more details or it will be closed if no further activity occurs. Thank you for your contributions. |
|
Does it work if you set "Port" to "Auto" in IDE? |
Yes, but it's not applicable when having multiple active ports. |
Fix "the task 'platformio: upload and monitor (Project Name)' is already active." Fix areTasksEqual return false when running upload and monitor task the running task has args like ['--upload-port', 'COM0', '--monitor-port', 'COM0'] added.