Skip to content

Console: change __dirname to expected __dirname #643

Description

@randunel

Problem: when running rw c or rw c "script", the __dirname is /path/to/project/node_modules/compound/lib/server.
Expected: __dirname === /path/to/project

Current workaround: var dirname = './', since ./ points to the correct local dir.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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