-
Notifications
You must be signed in to change notification settings - Fork 122
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
Conversation
@@ -4,6 +4,7 @@ module.exports = { | |||
configFile: { | |||
src: './oc.json' | |||
}, | |||
filesToIgnoreOnDevWatch: /node_modules|package\.tar\.gz|_package|\.sw[op]|\.git\/|\.DS_Store|oc\.json/, |
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.
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' |
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.
This was before matching the .git
and was failing
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.
Good stuff, thanks!
@matteofigus Regex is A-OK 👍 |
Thanks for the review @Kimtaro |
This affects the opencomponents.github.io repo