drakov icon indicating copy to clipboard operation
drakov copied to clipboard

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

Open aj-jaswanth opened this issue 7 years ago • 1 comments

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 (https://github.com/Aconex/drakov/commit/9f91708c66b7b111c5ca642dbb8a2484cd237cb3#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R32). It is reproducible in node 4, 6, 8 versions.

aj-jaswanth avatar Jun 15 '17 05:06 aj-jaswanth

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

aj-jaswanth avatar Jul 14 '17 04:07 aj-jaswanth