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

Wintersmith build does not finish or return 0 #294

Closed
jtorresfabra opened this issue Nov 4, 2015 · 5 comments
Closed

Wintersmith build does not finish or return 0 #294

jtorresfabra opened this issue Nov 4, 2015 · 5 comments

Comments

@jtorresfabra
Copy link

I'm trying to write a shell script calling cli wintersmith build, but it seems wintersmith never returns control if it succeed. I always need to Ctrl-C to continue. Any clue or advise? Thanks

@jnordberg
Copy link
Owner

Can you reproduce it without any plugins?

@jtorresfabra
Copy link
Author

I'm using the wintersmith-nunjucks plugin, so probably related.

@jtorresfabra
Copy link
Author

One more thing. Just calling wintersmith.build() from js does work. It happens only with cli.

@jnordberg
Copy link
Owner

Yep, was the nunjucks plugin. See jbuck/wintersmith-nunjucks#22

I'm going to add a process.exit as well to the cli, no point in allowing plugins to keep the process running after they call the callback

@jtorresfabra
Copy link
Author

That would be great. Thanks!

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

2 participants