JuliaPluto / PlutoSliderServer.jl

Web server to run just the `@bind` parts of a Pluto.jl notebook
https://computationalthinking.mit.edu/
The Unlicense
130 stars 17 forks source link

Info: Watching directory for changes... - not actually watching #109

Open behinger opened 1 year ago

behinger commented 1 year ago

Hi!

I noticed this before - but once I have PlutoSliderServer started (using run_directory) - I can add new notebooks, but they are not actually detected.

According to the code that should be checked every 0.5s https://github.com/JuliaPluto/PlutoSliderServer.jl/blob/3dedc4e53732ca563bf40139edf49c821b276e0c/src/PlutoSliderServer.jl#L386

But for me it doesnt work.

Note that the sliderserver does tell me at the end: Info: Watching directory for changes...

edit: just noticed I used SliderServer 0.3.21 -> restarting right now (but takes 20min or so) before I could test again

fonsp commented 1 year ago

Hey Benedikt! Can you post the output of versioninfo()? Perhaps BetterFileWatching.jl does not work on your system (it does not work on ARM)

behinger commented 1 year ago
Julia Version 1.8.3
Commit 0434deb161e (2022-11-14 20:14 UTC)
Platform Info:
  OS: Linux (x86_64-linux-gnu)
  CPU: 4 × Intel(R) Xeon(R) CPU E5-2620 v2 @ 2.10GHz
  WORD_SIZE: 64
  LIBM: libopenlibm
  LLVM: libLLVM-13.0.1 (ORCJIT, ivybridge)
  Threads: 1 on 4 virtual cores