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

Use sane ready event. Fixes #21 #24

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Use sane ready event. Fixes #21 #24

wants to merge 1 commit into from

Conversation

amasad
Copy link
Contributor

@amasad amasad commented Dec 18, 2014

Sane uses the clock command to initiate watchman and emit the ready event when it's ready to be used. This PR gets broccoli-sane-watcher to use the ready event.

@amasad
Copy link
Contributor Author

amasad commented Dec 18, 2014

cc @stefanpenner

@@ -39,6 +39,22 @@ describe('broccoli-sane-watcher', function (done) {
});
});

it('should pass watchman option to sane', function () {
fs.mkdirSync('tests/fixtures/a');
Copy link
Collaborator

Choose a reason for hiding this comment

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

this should likely guard if watchman isn't installed. That being said, for nix environments like travis we should also likely install it it.

@stefanpenner
Copy link
Collaborator

i'll try this out in the context of a ember-cli app this weekend, thanks!

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.

2 participants