Skip to content

Console: change __dirname to expected __dirname #643

@randunel

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.

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