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

modify --watch option: continue when SyntaxError #944

Merged
merged 2 commits into from
Aug 10, 2013
Merged

Conversation

haru01
Copy link
Contributor

@haru01 haru01 commented Aug 4, 2013

i want 'mocha --watch' continue when SytaxError.
becase rerun is a little difficultiy. (running happy!)
but was stopped 'mocha --watch' when SytaxError.

this modify ...

  • when command start and SytaxError then stopped.
  • when 'mocha --watch' runninng and modify js SytaxError then running.

i want 'mocha --watch' continue when SytaxError.
becase rerun is a little difficultiy.
but was stop 'mocha --watch' when SytaxError.

this modify ...
 * when command start and SytaxError then stopped.
 * when 'mocha --watch' runninng and SytaxError then running.
play(frames);
});
} catch(e) {
process.stdout.write(e.stack);
Copy link
Contributor

Choose a reason for hiding this comment

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

looks good I'd just change this to console.error(e.stack)

@AvnerCohen
Copy link

+1

@tj
Copy link
Contributor

tj commented Aug 10, 2013

thanks man

tj added a commit that referenced this pull request Aug 10, 2013
modify --watch option: continue when SyntaxError
@tj tj merged commit ff495cc into mochajs:master Aug 10, 2013
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