Skip to content
GitLab
    • Explore Projects Groups Snippets
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • C create-react-app
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 1,547
    • Issues 1,547
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 417
    • Merge requests 417
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Meta
  • create-react-app
  • Merge requests
  • !1696

fixing things for people with the username `cwd`

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Administrator requested to merge github/fork/chrisdrackett/patch-1 into master 8 years ago
  • Overview 8
  • Commits 2
  • Pipelines 0
  • Changes 1

Created by: chrisdrackett

closes #1694 (closed)

Compare
  • master (base)

and
  • latest version
    9b41c63c
    2 commits, 2 years ago

1 file
+ 1
- 1

    Preferences

    File browser
    Compare changes
packages/react-dev-utils/getProcessForPort.js
+ 1
- 1
  • View file @ 9b41c63c

  • Edit in single-file editor

  • Open in Web IDE


@@ -43,7 +43,7 @@ function getProcessCommand(processId, processDirectory) {
}
function getDirectoryOfProcessById(processId) {
return execSync('lsof -p '+ processId + ' | grep cwd | awk \'{print $9}\'', execOptions).trim();
return execSync('lsof -p '+ processId + ' | awk \'$4=="cwd" {print $9}\'', execOptions).trim();
}
function getProcessForPort(port) {
0 Assignees
None
Assign to
0 Reviewers
None
Request review from
Labels
2
CLA Signed tag: bug fix
2
CLA Signed tag: bug fix
    Assign labels
  • Manage project labels

Milestone
0.9.4
0.9.4
None
Time tracking
No estimate or time spent
Lock merge request
Unlocked
1
1 participant
Administrator
Reference: facebook/create-react-app!1696
Source branch: github/fork/chrisdrackett/patch-1

Menu

Explore Projects Groups Snippets