Skip to content

building never ends #44018

Closed
Closed

Description

@GGeorgi
  • VSCode Version: 1.20.1
  • TSC Version: 2.7.1
  • Commit f88bbf9
  • Date 2018-02-13T15:34:36.336Z
  • Shell 1.7.9
  • Renderer 58.0.3029.110
  • Node 7.9.0
  • Architecture x64
  • OS Version: windows 10

Here is my tasks.json file

{
    // See https://go.microsoft.com/fwlink/?LinkId=733558
    // for the documentation about the tasks.json format
    "version": "2.0.0",
    "tasks": [
        {
            "type": "typescript",
            "tsconfig": "tsconfig.json",
            "option": "watch",
            "problemMatcher": [
                "$tsc-watch"
            ],
            "group": {
                "kind": "build",
                "isDefault": true
            }
        }
    ]
}

After ctrl+shift+b in bottom-left corner I keep seeing Building...
In Termnal window I see this:

[12:31:18] Starting compilation in watch mode...
[12:31:22] Compilation complete. Watching for file changes.

But Building... still there. Also I cannot see problems in Problems tab if I write some wrong code

Activity

  1. added
    tasks
    on Feb 20, 2018
  2. dbaeumer commented on Feb 21, 2018

    @dbaeumer
    Member

    Which shell are you using. This works for me but the output in the shell should be like this:

    12:31:18 Starting compilation in watch mode...
    
    12:31:22 Compilation complete. Watching for file changes.
    
  3. added
    info-needed
    on Feb 21, 2018
  4. GGeorgi commented on Feb 21, 2018

    @GGeorgi
    Author

    in my case output is also

    [19:38:20] File change detected. Starting incremental compilation...
    [19:38:21] Compilation complete. Watching for file changes.
    

    but it shows all the time Building...
    image

  5. GGeorgi commented on Feb 21, 2018

    @GGeorgi
    Author

    Microsoft Windows [Version 10.0.16299.248]
    Power Shell version: 5.1.16299.248
    Shell 1.7.9

  6. dbaeumer commented on Feb 22, 2018

    @dbaeumer
    Member

    GGeorgi to double check. Our output has [] around the time. That shouldn't be there and will make the problem matcher not recognize the start / end pattern.

  7. GGeorgi commented on Feb 22, 2018

    @GGeorgi
    Author

    Dirk Bäumer (@dbaeumer) here is info from vscode about:

    Version 1.20.1
    Commit f88bbf9
    Date 2018-02-13T15:34:36.336Z
    Shell 1.7.9
    Renderer 58.0.3029.110
    Node 7.9.0
    Architecture x64

    This problem happened after I updated typescript to 2.7.2 but I'm not sure that it was the reason.

  8. dbaeumer commented on Feb 22, 2018

    @dbaeumer
    Member

    It is very likely the reason. I was able to reproduce it now. It is the way how the tsc compiler clears the terminal since 2.7 which confuses our terminal and then the task problem scanning. I will open an issue against the terminal to further track this down.

  9. dbaeumer commented on Feb 22, 2018

    @dbaeumer
    Member

    See #44192 for the details.

  10. added
    bug
    and removed
    info-needed
    on Feb 22, 2018
  11. dbaeumer commented on Mar 1, 2018

    @dbaeumer
    Member

    Fixed for February.

    See #44192 for steps to verify

  12. chrmarti commented on Mar 2, 2018

    @chrmarti
    Collaborator

    Cannot reproduce in latest insiders. Should it reproduce in 1.20.1? Dirk Bäumer (@dbaeumer)

  13. Tyriar commented on Mar 2, 2018

    @Tyriar
    Contributor

    Christof Marti (@chrmarti) the problem was introduced with TS 2.7.2, 1.20.1 is on 2.7.1 so I'll add verified back.

  14. added
    verified
    on Mar 2, 2018
  15. chrmarti commented on Mar 3, 2018

    @chrmarti
    Collaborator

    Daniel Imms (@Tyriar) I ran a local install of 2.7.2 with 1.20.1. 🤔

  16. Tyriar commented on Mar 3, 2018

    @Tyriar
    Contributor

    Christof Marti (@chrmarti) it was also flaky and would only happen about 20% of the time for me (testing on master before the fix).

  17. dbaeumer commented on Mar 5, 2018

    @dbaeumer
    Member

    Yes, it is very flaky.

  18. locked and limited conversation to collaborators on Apr 15, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

bugtasksverified

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions