Skip to content

Breaks with builds outside of project root #3

@ghost

Description

If you use something like gulp or grunt to 'build' you app to a different directory (say ./build), it fails to find the package.json file because it's not copied to the build directory.

Check lib/health.js line 8. Should probably use process.cwd() in this case.

var pjson = require(process.cwd() + path.sep +'package.json');

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