ionide / Fornax

Scriptable static site generator using type safe F# DSL to define page templates.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

File watcher not triggering recompilation when a folder does contain specific characters

kMutagene opened this issue · comments

Describe the bug
When the path of a folder containing a fornax site contains multiple dots (.), the watch command will not trigger recompilation via any generator triggers. I encountered this in a repository with a name like this: RepoName.github.io

To Reproduce
Steps to reproduce the behaviour:

  • create a folder called reproFornax.github.io
  • initialize fornax (run dotnet new tool-manifest, dotnet tool install fornax, dotnet fornax new)
  • run dotnet fornax watch
  • change some text in a post markdown

Expected behaviour
content is recompiled and refreshed in the client due to the watch command.

Actual behavior
No recompilation is triggered. This can be circumvented by removing one of the dots in the folder name.

Environment (please complete the following information):

  • OS: Win 10 Version 10.0.19042 Build 19042
  • Ionide version: 5.3.2
  • VSCode version: VSCode Insiders February 2021 (version 1.54)
  • dotnet SDK version: 5.0.103

This is presently resolved in source as of 827f77ca8d9f969b6d75fb7230b2fb89ae1263a8 - so it should get picked up in the next release.