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

[DX-198] Watch .github.io folders #693

Merged
merged 4 commits into from
Oct 5, 2017
Merged

[DX-198] Watch .github.io folders #693

merged 4 commits into from
Oct 5, 2017

Conversation

matteofigus
Copy link
Member

This affects the opencomponents.github.io repo

@@ -4,6 +4,7 @@ module.exports = {
configFile: {
src: './oc.json'
},
filesToIgnoreOnDevWatch: /node_modules|package\.tar\.gz|_package|\.sw[op]|\.git\/|\.DS_Store|oc\.json/,
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 fixed by adding a final \/ after the .git

describe('when a file in a github.io repo changes', () => {
it('should not ignore it', () => {
const result = execute(
'/path/to/opencomponents.github.io/components/landing-page/server.js'
Copy link
Member Author

Choose a reason for hiding this comment

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

This was before matching the .git and was failing

Copy link
Contributor

@nickbalestra nickbalestra left a comment

Choose a reason for hiding this comment

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

Good stuff, thanks!

@nickbalestra nickbalestra merged commit fdcc30a into master Oct 5, 2017
@nickbalestra nickbalestra deleted the regex branch October 5, 2017 15:06
@Kimtaro
Copy link
Contributor

Kimtaro commented Oct 5, 2017

@matteofigus Regex is A-OK 👍

@matteofigus
Copy link
Member Author

Thanks for the review @Kimtaro

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.

3 participants