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

Run development with nodemon? #113

Open
prashantidealittechno opened this issue Mar 29, 2019 · 1 comment
Open

Run development with nodemon? #113

prashantidealittechno opened this issue Mar 29, 2019 · 1 comment
Labels

Comments

@prashantidealittechno
Copy link

How can we run the project with nodemon so we do not have to restart the containers for small changes or fixes in files?

@philtrep
Copy link
Member

@prashantidealittechno Absolutely, if you can replace the entrypoint for the node service from run-nodock "node index.js" to whatever you wish. You'd just have to make sure that you've installed the program you want to run.

In your case, the best would probably be to use the scripts section of the package.json to call nodemon index.js and call the npm script from the entrypoint.

Let me know if that works for you.

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

No branches or pull requests

2 participants