Skip to content
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

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

alice-king
Copy link

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.

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.
@CLAassistant
Copy link

CLAassistant commented Mar 18, 2023

CLA assistant check
All committers have signed the CLA.

@alice-king alice-king changed the title Fix areTasksEqual Fix upload and monitor is already active. Mar 18, 2023
@ivankravets
Copy link
Member

Do you mean that you overrode the automatic upload/monitor port via Port Switcher?

@alice-king
Copy link
Author

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.

@alice-king
Copy link
Author

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.

@stale
Copy link

stale bot commented Jun 23, 2023

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.

@stale stale bot added the stale label Jun 23, 2023
@venca22
Copy link

venca22 commented Jul 16, 2023

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.

@stale stale bot removed the stale label Jul 16, 2023
@ivankravets
Copy link
Member

Does it work if you set "Port" to "Auto" in IDE?

@alice-king
Copy link
Author

Does it work if you set "Port" to "Auto" in IDE?

Yes, but it's not applicable when having multiple active ports.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants