Skip to content

Errors remain even when fixed when running in watch mode #909

@nilshedstrom

Description

@nilshedstrom

I run webpack from Visual Studio Code (0.10.3). When an error is found by webpack it is found by Visual Studio Code (I can see it when I press Ctrl+Shift+M).
But when I correct the error I can still see it when I press Ctrl+Shift+M. I would like to dissapear from that list so I know which real errors that real.
Even when I terminate the task and run it again the error remain when I press Ctrl+Shift+M.
When I trigger the task normally (Ctrl+Shift+B) without watch then the errors dissapear after I fix them.

This is the task from tasks.json

        "args": [
            "-d",
            "--watch" 
        ],
        "suppressTaskName": true,
        "taskName": "webpack watch",
        "showOutput": "silent",
        "isWatching": true,
            "problemMatcher": [{
            "owner": "webpack",
            "fileLocation": ["relative", "${workspaceRoot}"],
            "severity": "warning", 
            "pattern": [
                {
                "regexp": "WARNING in (.*)",    
                "file" : 1 
                },
                {
                "regexp": "\\[(\\d+),\\s(\\d+)\\]:\\s(.*)",
                "line":1,
                "column": 2,
                "message": 3
                }           
                ]
            },
            {
            "owner": "webpack",
            "fileLocation": ["relative", "${workspaceRoot}"],
            "severity": "error", 
            "pattern": [
                {
                "regexp": "ERROR in (.*)",  
                "file" : 1 
                },
                {
                "regexp": "\\((\\d+),(\\d+)\\):(.*)",
                "line":1,
                "column": 2,
                "message": 3
                }           
                ]
            }]

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions