karma-runner / karma-runner/karma

Error in preprocessor stops watch session.

Open
#1,456 0 comments 0 reactions 0 assignees View on GitHub
type: backlog
Dominant language
JavaScript
Stars
12k
Forks
1.7k
PR merge metrics
No merged PRs in 30d

Description

When karma starts with `autoWatch: true` and a preprocessor fails after file modification (let's say coffee syntax error was introduced), whole runner is stopped.

More sane behaviour would be to emit error to the user, continue watching and try again after a file is modified.

Contributor guide

Open the contributing guide

Research direction

Start with Karma's autoWatch flow and the preprocessor error path. Reproduce the issue by introducing a CoffeeScript syntax error after a file modification, then observe whether the runner stops. Done means the error is reported, the watch session continues, and a later file modification triggers another attempt.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
testing
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.