Skip to content

Waiting for preLaunchTask 'build'... #521

@aol-nnov

Description

@aol-nnov

If I choose 'start debugging (run extension) in the newly generated extension, extension host does not actually start and the whole thing is in some "hang state". In a while "Waiting for preLaunchTask 'build'..." message appears.

Appeared that default build task depends on two watch tasks, and they, eventually never finish.

Quick googling revealed a problem, but the solution from that post did not help.

Changing preLaunchTask to a non-watch task (i.e.: npm: compile) helps, but increases startup time.

Also, it was mentioned earlier: #311

Please update the generator to address this issue

OS: MacOS 15.4
VSCode: 1.99.0
generator-code@1.11.9

? What type of extension do you want to create? New Extension (TypeScript)
? What's the name of your extension? example-test-es
? What's the identifier of your extension? example-test-es
? What's the description of your extension?
? Initialize a git repository? No
? Which bundler to use? esbuild
? Which package manager to use? npm

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions