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 server doesn't work (6.17.1) #369

Closed
DjebbZ opened this issue Dec 4, 2012 · 4 comments
Closed

docpad server doesn't work (6.17.1) #369

DjebbZ opened this issue Dec 4, 2012 · 4 comments

Comments

@DjebbZ
Copy link

DjebbZ commented Dec 4, 2012

So I finally think that the last Docpad update to 6.17.1 broke several stuff.

Now docpad server simply doesn't serve anything. When I navigate to http://localhost:9778 nothing appears, it keeps trying loading until it fails.

Using the --debug option doesn't show anything suspicious, so I didn't include the output.

@balupton
Copy link
Member

balupton commented Dec 4, 2012

Could be related to a change in DocPad v6.14 the speed improvements. Before we would just move onto the static middleware if we couldn't find the document, these days we wait until the generation has finished.

Ideally though, we should do a generate before the server, as otherwise things like urls meta data and whatnot will not work correctly as the static middleware is unaware of these things.

@balupton
Copy link
Member

balupton commented Dec 4, 2012

For the meantime just use docpad run

balupton added a commit that referenced this issue Dec 4, 2012
- v6.17.2 December 5, 2012
	- `watch` and `server` actions now perform an initial generation
		- Thanks [Khalid Jebbari](https://github.com/DjebbZ), [Vladislav
Botvin](https://github.com/darrrk)
		- Closes [#369](#369),
[#368](#368),
[#366](#366)
@balupton
Copy link
Member

balupton commented Dec 4, 2012

Fixed in v6.17.2 which has docpad server perform an initial generation

@balupton balupton closed this as completed Dec 4, 2012
@DjebbZ
Copy link
Author

DjebbZ commented Dec 5, 2012

I confirm it works. Thanks the reactivity !

balupton added a commit that referenced this issue Oct 23, 2013
- v6.17.2 December 5, 2012
	- `watch` and `server` actions now perform an initial generation
		- Thanks [Khalid Jebbari](https://github.com/DjebbZ), [Vladislav
Botvin](https://github.com/darrrk)
		- Closes [#369](#369),
[#368](#368),
[#366](#366)
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