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

chore(.vscode/tasks.json): add npm start integration #3068

Merged
merged 2 commits into from Aug 17, 2020
Merged

Conversation

sidvishnoi
Copy link
Member

@sidvishnoi sidvishnoi commented Aug 16, 2020

See demo: https://www.youtube.com/watch?v=xnUFQ9OiPrE
A good thing coming out of #3067

Not shown in video: the files in explorer (sidebar) get marked as failing also.

Copy link
Member

@saschanaz saschanaz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"script": "start",
"options": {
"env": {
"BROWSERS": "ChromeHeadless"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we do FirefoxHeadless, just because we love it 😁

I guess the change would require some format changes in problemMatcher so I'm still okay with this.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I wanted to, but FirefoxHeadless didn't even start karma server for me. So, I decided to be lazy. Can you check if it works locally for you?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems npm start -- --browsers Firefox is also broken 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FirefoxHeadless works fine in CI though 🤔

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Saving a file while in a npm start session starts Firefox for me. Kinda works

@sidvishnoi sidvishnoi changed the title chore(.vscode/tasks.json): deep integrate npm start chore(.vscode/tasks.json): add npm start integration Aug 17, 2020
Copy link
Member

@marcoscaceres marcoscaceres left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's work towards getting it working in FF as a followup!

@sidvishnoi sidvishnoi merged commit f40775c into develop Aug 17, 2020
@sidvishnoi sidvishnoi deleted the vscode-task branch August 17, 2020 09:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants