@gdiaz (Gilberto Diaz) posted a new topic, subject "_draft posts are not showing on page". It read:

   I'm having an issue where `_draft` posts are not showing in `localhost:4000`. As the instructions stated, the file doesn't have the date and I ran `jekyll build --draft`. Any thought on why this is happening?

After which, @Frank (Frank Taillandier) added

    `jekyll serve --drafts` should display the posts stored in the `_drafts` folder (plural).

After which, @gdiaz (Gilberto Diaz) added

    Thanks @Frank, I got that solved. Now I have a different problem. when I run `jekyll build --drafts --watch` I get the following error… `jekyll 3.8.1 | Error: No such device or address @ rb_sysopen - ...`

After which, @Frank (Frank Taillandier) added

    Can't reproduce your issue, please provide a link to a public repo if you can't figure it out.

So @gdiaz (Gilberto Diaz) replied

    I uninstall all gems and install jekyll back again. Now I can't bundle install from the root, I get the following error… `Your bundle is locked to minitest (5.10.3)`

Then @Frank (Frank Taillandier) said

    to reinstall all latest gems: `rm Gemfile.lock && bundle update`


{'source': 'discourse', 'url': 'https://talk.jekyllrb.com/t/draft-posts-are-not-showing-on-page/1766', 'title': '_draft posts are not showing on page', 'views': 2730, 'has_accepted_answer': False, 'word_count': 148, 'like_count': 0, 'reply_count': 4, 'participant_count': 2, 'posts': 6, 'tags': '', 'author': '@gdiaz (Gilberto Diaz)', 'participants': '@gdiaz (Gilberto Diaz), @Frank (Frank Taillandier)', 'image_url': [None], 'created_at': '2018-05-06T20:09:43.842Z', 'last_posted_at': '2018-05-07T15:11:32.987Z'}