Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
lholmquist opened this issue Jun 9, 2021 · 0 comments
Open

Comments

@lholmquist
Copy link

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 ^^

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant