Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Watcher does not refresh file on change event on OS X #27

Closed
ikappaki opened this issue Dec 10, 2021 · 1 comment
Closed

Watcher does not refresh file on change event on OS X #27

ikappaki opened this issue Dec 10, 2021 · 1 comment

Comments

@ikappaki
Copy link
Contributor

ikappaki commented Dec 10, 2021

Hi,

there appears to be a recent issue on OS X that watcher fails to load file after it has been modified.

to reproduce

  1. Bring up the REPL and watch the notebooks folder
(require '[nextjournal.clerk :as clerk])
(clerk/serve! {:watch-paths ["notebooks"]})
  1. Open http://localhost:7777. and back at the REPL do
(clerk/show! "notebooks/hello.clj")
  1. The hello.clj should be shown at the browser.
  2. Add something to the hello.clj file and save it.
  3. The page should refresh with the addition, but nothing happens.

PR to follow.

@mk
Copy link
Member

mk commented Dec 13, 2021

Fixed with 8ad8863.

@mk mk closed this as completed Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants