hexojs / hexo-server

Server module for Hexo.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Updating theme throws EISDIR

kuzzmi opened this issue · comments

I receive EISDIR error in this scenario:

  1. hexo server
  2. Update a file in themes folder.
  3. Receive this:
INFO  Hexo is running at http://0.0.0.0:4000/. Press Ctrl+C to stop.
events.js:85
      throw er; // Unhandled 'error' event
            ^
Error: EISDIR, read
    at Error (native)

I'm also seeing this issue. If I run hexo server it fails to restart when I change a file, same error message as above.

me too. It happens with any file change, also to content (post files)

commented

Pretty sure this is an issue in chokidar, but I haven't been able to track it down yet. Throwing in a process.on('uncaughtException') allows you to keep developing. It's a terrible workaround, but tracking the error down is proving to be quite difficult.

We updated chokidar version back in April.
Do this problem still exist?

As haven't got any feed back for more than half year. I will close this issue.

Feel free to reopen it, if the issue still there.