It may be related to issue #223, when using docpad skeleton, one have to use Ctrl+C to terminate the command after it displays "info: The action completed successfully" because it doesn't end by itself. But everything is fine after that, all files are here and a quick test with docpad server shows no problem in the console or the browser.
I have my folder empty after pressing Ctrl+C no skeleton in there.
I can't reproduce this... anyone know where the problem code is?
In my case, since DocPad displays "info: The action completed successfully", it can come only from these lines in console.coffee :
logger.log 'info', "The action completed successfully"
# Exit or return to cli
if program.mode is 'cli'
program.emit 'cli', 
Maybe in some case, the program.mode is not cli ? Or the problem comes from what happens in program.emit 'cli', .
program.emit 'cli', 
Can you try this again with DocPad v6.0.8 or later? Closing for now.
Not actually sure how to fix this... The mode is definitely not cli.
Somewhere in DocPad (or its dependencies) something would have been started, but never finished, which is quite difficult to debug. Perhaps this one will just have to be left for a pull request by a determined fellow!
Confirming that the issue still exists with v6.0.8. Using node 0.6.13. Will update docpad to 6.0.12, then node to 0.8 and report again.
Same problem with 6.0.12.
I doubt that the status of this issue has changed, as I haven't done anything to resolve it...
The blocking comes from the choose method of commander.
process.stdin needs to be explicitly destroyed as shown in the example : https://github.com/visionmedia/commander.js/blob/master/examples/choice
That's a bit lame. Can it be reopened once it's been destroyed? Want to submit a pull request?
v6.8.1. Improvement. Bugfix.
- v6.8.1 October 19, 2012
- Fixed `--port` CLI option not working (and possibly others)
- Fixed `docpad skeleton` blocking instead of ending
- Closes [#225](#225) thanks to
- Improved localisation
- Thanks to [Bruno Héridet](https://github.com/Delapouite) for [pull
Published to 6.8.1
fix #225 docpad skeleton blocks instead of ending