Skip to content

Conversation

@louis-jan
Copy link
Contributor

Problem

  • kill-port-process raises this error when attempting to kill a non-existing process

Solution

  • use kill-port instead

fixes: #405

@louis-jan louis-jan temporarily deployed to production October 31, 2023 08:01 — with GitHub Actions Inactive
extensions: [".ts", ".js"],
},
optimization: {
minimize: false,
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

disable js minify for an easier plugin code review

const fs = require("fs");
const tcpPortUsed = require("tcp-port-used");
const { killPortProcess } = require("kill-port-process");
const kill = require("kill-port");
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

killPortProcess is the root cause

@louis-jan louis-jan merged commit 1efe2cb into main Oct 31, 2023
@louis-jan louis-jan deleted the fix/405-dest-end-is-not-a-function branch October 31, 2023 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

No open projects
Archived in project

Development

Successfully merging this pull request may close these issues.

bug: dest.end is not a function

4 participants