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

Documentation addition #19

Open
joel1st opened this issue Jul 29, 2021 · 0 comments
Open

Documentation addition #19

joel1st opened this issue Jul 29, 2021 · 0 comments

Comments

@joel1st
Copy link

joel1st commented Jul 29, 2021

Not sure if this is useful for anyone else, but this pattern works well when adding it to the project with existing developers using it.
Rather than asking people to run npm install for the first time, this will run npm install if install-changed is not found.

    "prestart": "install-changed || npm install",
    "start": "ts-node build_tools/develop.ts",

I have only tested this on linux, there may be different approaches required for windows.

Very handy package btw :)

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