LightAndLight / LightAndLight/lightandlight.github.io

The `watch` command breaks when responding to edits

Open
#31 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CSS
Stars
3
Forks
2
PR merge metrics
No merged PRs in 30d

Description

When I edit a file while watch is running this happens:

Initialising...
  Creating store...
  Creating provider...
  Running rules...
./posts/2025-01-19-2024-project-review.mdOeHwUe.bck: openFile: does not exist (No such file or directory)
Initialising...
  Creating store...
  Creating provider...
  Running rules...
Checking for out-of-date items
Compiling
  Using async runtime with 8 threads...
Success

The page corresponding to the file I edited isn't updated.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by running the watch command and editing a file while it is active, using the reported missing .bck path and repeated initialization output as clues. Check why the edited file is not processed after the error. Done when the page corresponding to the edited file updates successfully during watch.

Written by the indexing model from the issue text.

Assessment

Domain
cli, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.