Skip to content

fix: watch files callback missing correct this context #163

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

Merged
merged 1 commit into from
Jul 15, 2019

Conversation

JackCuthbert
Copy link
Contributor

After the refactor, I broke this by removing the bind in the hooks. Adding the bind to the callback function retains the this context while keeping the modularity of the hooks property.

Fixes #162

After the refactor, I broke this by removing the bind in the hooks.
Adding the bind to the callback function retains the this context while
keeping the modularity of the hooks property.

Fixes #162
@JackCuthbert JackCuthbert requested a review from divyenduz July 15, 2019 00:18
Copy link
Contributor

@divyenduz divyenduz left a comment

Choose a reason for hiding this comment

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

Looks good.

@JackCuthbert JackCuthbert merged commit 424fe49 into master Jul 15, 2019
@divyenduz
Copy link
Contributor

🎉 This PR is included in version 1.1.9 🎉

The release is available on:

Your semantic-release bot 📦🚀

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

Successfully merging this pull request may close these issues.

Plugin throws Cannot read property 'prepare' of undefined when recompiling
2 participants