Skip to content

Quiting jaspr serve will cause SocketException for following jaspr serve #655

@EMUNES

Description

@EMUNES

Description

Similar to #322, but happens to jaspr serve, not jaspr build.

Running jaspr build or jaspr serve after jaspr build, everything is fine.

Running jaspr build after jaspr serve, it's fine.

But once running jaspr serve after jaspr serve, SocketException will occur.

Existing VS Code and close all dartvm in windows task manager and restart VS Code can solve the problem.

Steps To Reproduce

  1. Run jaspr serve
  2. Run ctrl c in terminal
  3. Run jaspr serve again
  4. SocketException: Failed to create server socket occur

Expected Behavior

Should re-serve again

Additional Context

Windows 11
Dart 3.10
Jaspr 0.21.7
Additional package: TailwindCSS + DaisyUI

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions