Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
should watch the full scss dep tree: fix race
Browse files Browse the repository at this point in the history
We are getting test failures:

1) cli node-sass in.scss should watch the full scss dep tree for a single file:

      Uncaught AssertionError: false == true

      + expected - actual

      -false

      +true

      at Socket.<anonymous> (test/cli.js:317:9)
      at readableAddChunk (_stream_readable.js:146:16)
      at Socket.Readable.push (_stream_readable.js:110:10)
      at Pipe.onread (net.js:523:20)
  • Loading branch information
saper committed Sep 16, 2015
1 parent d43ab63 commit b849cb0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion test/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -303,7 +303,7 @@ describe('cli', function() {

it('should watch the full scss dep tree for a single file', function(done) {
var src = fixture('watching/index.scss');
var foo = fixture('watching/foo.scss');
var foo = fixture('watching/white.scss');

fs.writeFileSync(foo, '');

Expand Down
1 change: 1 addition & 0 deletions test/fixtures/watching/white.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
body{background:white}

0 comments on commit b849cb0

Please sign in to comment.