saberland/saber

Renaming/deleting markdown file breaks reloading #67

h404bi posted onGitHub

Version

0.4.3

Steps to reproduce

  1. run dev server
  2. rename or delete a markdown file

What is expected?

Should handle renaming or deletion like Hexo, without breaking the workflow.

What is actually happening?

ERROR in <omitted>/pages/drafts/break.md?saberPage=61d9a790
Module build failed (from <omitted>/node_modules/saber/vue-renderer/lib/saber-page-loader.js):
Error: ENOENT: no such file or directory, open '<omitted>\pages\drafts\break.md'
...

Fund this Issue

$10.00
Rewarded

Rewarded pull request

Recent activities

marchworks was rewarded by egoist for egoist/saber# 67
almost 6 years ago
marchworks submitted an output to  egoist/ saber# 67
almost 6 years ago