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

Express server callback is not called after switching to 'drafter' #167

Open
aj-jaswanth opened this issue Jun 15, 2017 · 1 comment
Open

Comments

@aj-jaswanth
Copy link
Contributor

I tried to use the latest version of drakov 1.0.4. We have a gradle task that depends on the message Listening on port that is printed in the callback (https://github.com/Aconex/drakov/blob/master/lib/setup.js#L10). After upgrading the callback is not called after server loads all the API blueprint files. One observation is that, it is getting called after I send a request to drakov or open another terminal tab. After doing a git bisect I found it started after moving to drafter from drafter.js module in the commit (9f91708#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R32). It is reproducible in node 4, 6, 8 versions.

@aj-jaswanth
Copy link
Contributor Author

More information, this is only happening on using --public option on drakov.

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

1 participant