-
Notifications
You must be signed in to change notification settings - Fork 343
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
feat: Added --watch-ignored new command line option #2077
feat: Added --watch-ignored new command line option #2077
Conversation
@rpl, I am not sure why onChange function is never being called even if we write to a file that is not being ignored. Lines 50 to 52 in afd9592
Doubt:
Thank you!... Update: I see that tests on travis-ci are passing successfully but on my machine |
@rpl I think I have added all the necessary test, my only two doubt/update are outlined in this comment. Hoping to understand them better :) Do let me know any other changes are required. (PS: I am still new to JavaScript and always trying to better myself. If you have any beginner-friendly issue, I would love to take part in it. Thank you for the opportunity!.. 😊) |
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.
My apologies again for the delay. Follows a new round of review comments (some nits, and a bigger and more detailed comment related that tricky test case ;-)).
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.
@ankushduacodes looks great, follows just two more nits (one small tweak to the option description and moving one of the new test case into the existing group of watcher tests).
In the following comments there is one that provides some more details about the possible reasons for the intermittent failures (and some details about a small stress test experiment I did locally to double-check if that test can still fail from time to time as I was guessing, well... spoiler... it still can :-P, but I'm ok on deferring looking more into that in a follow up if the intermittent failures are going to actually happen after we landed this on master).
@rpl I am not sure why Circle CI is giving me a build error. Is this internal to web-ext itself? |
@ankushduacodes we migrated yesterday to CircleCI, would you mind to rebase this branch on top of the last changes landed in the repo? that would make the circleci config available in this pull request and CircleCI should stop complaining and start running the 4 CI jobs expected (e.g. like the list of circleci checks in PR #2095). Some more context in case you are interested in knowing more: We had to migrate the CI jobs to CircleCI asap to close #2094 before the end of the year and be sure to keep our CI jobs up and running. I landed the changes yesterday on master (#2096) and so now circleci complains because in this branch there is no CircleCI config (the log in the CI failure is |
c4c6172
to
6033c08
Compare
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.
@ankushduacodes Thanks for rebasing the PR right away (and for covering all the last review comments in the updated version of this patch), you are awesome ❤️
I'm approving this version, but I'll wait your feedback about that experiment with the stress test (the one related to double-checking that new test case for intermittency issues) before proceeding to merge it.
Ping me in a comment to let me know when you have done with that (either if there are further changes applied to this PR or not).
Thanks again for your work on these contributions!
@rpl According to me the only thing left to do in this PR is an update to the docs. What do you think? |
yep, I'm going to give a quick look to the last update and then merge it on master. We are not planning to release a new web-ext version before the end of the year and so there is no rush to create the pull request for the mozilla/extension-workshop, we would still merge that extension-workshop PR right after the new option has been released as part of a new web-ext version, but feel free to open it and mention it in a new comment on #2022. Thanks again for you work on this enhacement! (and for the help investigating the test intermittency on macos! In my opinion that turned out to be a pretty interesting part of this PR ;-)). |
fixes #2022