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

docpad generate never finishs with server v2.2.0 #10

Open
viceice opened this issue Aug 18, 2020 · 3 comments
Open

docpad generate never finishs with server v2.2.0 #10

viceice opened this issue Aug 18, 2020 · 3 comments

Comments

@viceice
Copy link

viceice commented Aug 18, 2020

When i use [email protected] docpad generate never finishs.

Version 2.1.0 works.

@balupton
Copy link
Member

can you run with the --debug flag and upload the docpad-debug.log file

@viceice
Copy link
Author

viceice commented Aug 31, 2020

Sorry for delay, see https://gist.github.com/viceice/1c94e2da1f7bbc2e857e11ac43ccfe91 for log.

I've hit ctr-c at end to finish docpad. here the last log lines:

last relevant log lines ``` debug: Emitting the event: writeAfter → [2020-08-31 14:26:53.579] [C:NaN] [DocPad.emitSerial] debug: Imagin has nothing to generate → [2020-08-31 14:26:57.663] [C:NaN] [Imagin.writeAfter] debug: Emitted the event: writeAfter → [2020-08-31 14:26:57.663] [C:NaN] [TaskGroup.] debug: Emitting the event: generateAfter → [2020-08-31 14:26:57.664] [C:NaN] [DocPad.emitSerial] debug: imagin: generateAfter → [2020-08-31 14:26:57.665] [C:NaN] [Imagin.generateAfter] debug: Emitted the event: generateAfter → [2020-08-31 14:26:57.665] [C:NaN] [TaskGroup.] info: Generated 503/518 files in 16.19 seconds! → [2020-08-31 14:26:57.666] [C:NaN] [TaskGroup.] debug: Emitting the event: notify → [2020-08-31 14:26:57.667] [C:NaN] [DocPad.emitSerial] debug: Emitting the event: generated → [2020-08-31 14:26:57.667] [C:NaN] [DocPad.emitSerial] debug: Emitted the event: notify → [2020-08-31 14:26:57.671] [C:NaN] [TaskGroup.] debug: Emitted the event: generated → [2020-08-31 14:26:57.671] [C:NaN] [TaskGroup.] debug: The action [generate] completed successfully! → [2020-08-31 14:26:57.672] [C:NaN] [unknown] debug: action runner ➞ runner task for action: generate > done → [2020-08-31 14:26:57.672] [C:NaN] [Task.] notice: Signal Interrupt received, queued DocPad's destruction → [2020-08-31 14:27:54.396] [C:NaN] [DocPad.onSignalInterruptOne] debug: The action [destroy] is starting... → [2020-08-31 14:27:54.397] [C:NaN] [DocPad.action] debug: action runner ➞ runner task for action: destroy > added → [2020-08-31 14:27:54.397] [C:NaN] [TaskGroup.] debug: action runner > running → [2020-08-31 14:27:54.398] [C:NaN] [TaskGroup.] info: DocPad is shutting down... → [2020-08-31 14:27:54.401] [C:NaN] [DocPad.destroy] debug: Emitting the event: docpadDestroy → [2020-08-31 14:27:54.401] [C:NaN] [DocPad.emitSerial] info: Shutting down the server... → [2020-08-31 14:27:54.402] [C:NaN] [ServePlugin.destroyServer] info: ...shutdown down the server → [2020-08-31 14:27:54.402] [C:NaN] [Server.] debug: Emitted the event: docpadDestroy → [2020-08-31 14:27:54.402] [C:NaN] [TaskGroup.] ```

@balupton
Copy link
Member

balupton commented Sep 2, 2020

Ah. This will be because the latest serve plugin binds to the docpadReady event, which occurs on all actions, including generate. Some filtering will have to occur to discriminate against which actions is should actually proceed on. I'll add it to the list of things to do.

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