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

Code doesn't exit #12

Open
abhishrek opened this issue Aug 11, 2021 · 2 comments
Open

Code doesn't exit #12

abhishrek opened this issue Aug 11, 2021 · 2 comments

Comments

@abhishrek
Copy link

When i run a JS function via make-runnable, the function does't exit.
After successful run, the output shows "--------make-runnable-output--------", and it the execution stops there.
The script doesn't exit to the Shell Prompt.
I have to do Ctrl+C to make it exit.

It would be nice if the program exits gracefully.

@super-cache-money
Copy link
Owner

Hmmm. I can't replicate this - it terminates for me. Could you provide an example function / file please?

@miainchambers
Copy link

I've just come across this issue.

I have a file which exports a seed function, to which I've added require('make-runnable') to the end of.
I'm using the function as follows:
"first-deploy": "dotenv -c -- node pbs-seed.js seed"

It has successfully run my seed function, but the code hasn't exited by itself.
We are wanting to use this in production ASAP, any ideas on how to fix this?

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

3 participants