Skip to content

Allow a user to specify the npm script that runs in the launch.toml #97

Open
@lholmquist

Description

Using the current Node.js buildpack, there doesn't seem to be a way to change the npm script that is run from the launch.toml. It is hard coded to use npm start. https://github.com/boson-project/buildpacks/blob/main/buildpacks/nodejs/bin/build#L34

This is fine for most things, but i wanted to start the node process with the --inspect flag so i could connect to it with the Chrome Debugger.

There should be someway to pass in some type of Environment variable that could potentially change this.

@lance ^^

Activity

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions