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 auto-watch when running npm run test:inject:debug
#8124
Conversation
Not sure why rollup is putting the generated test JS next to the TS files, or if that's what's desired, but I added a few lines to .gitignore to address that. |
@@ -88,7 +88,7 @@ | |||
"karma-coverage": "2.1.0", | |||
"karma-firefox-launcher": "2.1.2", | |||
"karma-jasmine": "4.0.1", | |||
"karma-rollup-preprocessor": "7.0.7", | |||
"karma-rollup-preprocessor": "github:jlmakes/karma-rollup-preprocessor#master", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Let's wait what they say, maybe we can avoid using this and use the next update.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, agreed to merge it?
Everything's resolved except for this: You did mention you wanted to wait for jlmakes/karma-rollup-preprocessor to be updated so we wouldn't need to deal with the URL in the package.json. |
The push from last night was just to rebase onto master |
Well seems like they didn't update so it's fine then. |
Thank you! |
When running
npm run test:inject:debug
, watching/reloading is done by the karma-rollup-preprocessor plugin. That plugin needed to be upgraded to its prerelease version at master before this was fixed.A screencast that shows the problem and the fix:
Side note, I've left a note over at jlmakes/karma-rollup-preprocessor asking when the new version will be coming out, at which time you would be able to remove the URL from package.json.