Docpad generating is too long #460

Closed
dondinh opened this Issue Mar 15, 2013 · 7 comments

Projects

None yet

2 participants

@dondinh

Hi, I have docpad app. When I run docpad then my app generating is too long and it is stopped at "Currently on renderFiles at 41%".
So, how can I show the during generating to know where it is stopped .
Thank you very much!

@balupton
DocPad member

Hey, you can use the debug flag -d when you run docpad, so docpad run -d and that'll give you way more information about what's going on.

@dondinh

thank you very much ^^
I used flag -d and I can view rendering per file. But it wasted much time to rendering file (about 5 hours)
My app have 272 file but per file is about 150 ~ 200 bytes.
Have you met such as case?
Do you have any way to help me?

@balupton
DocPad member

Can you give me access to the app? I'll see if I can reproduce on my side.

@dondinh

Thank you!
I realized where is problem in my project :)
I have query, when I run "docpad run", all files are generated and this action is completed.
Then I edit code in a file .... and I see my project is generated start again from the beginning
So, Is there any way to generated only this file?
Thank you very much!

@dondinh

@balupton : please help me that issue

when I run "docpad run", all files are generated and this action is completed.
Then I edit code in a file .... and I see my project is generated start again from the beginning
So, Is there any way to generated only this file?

thank you and sorry for my English :)

@balupton
DocPad member

@dondinh sure, now not every file will regenerate, only those that need to - more information and workaround here - http://stackoverflow.com/questions/16827193/how-can-i-exclude-files-to-being-regenerated-by-docpad

@dondinh

Thank you very much, it is very useful to me

@balupton balupton closed this Jun 25, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment