-
-
Notifications
You must be signed in to change notification settings - Fork 10k
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
Accents on path will crash jekyll serve
#7083
Comments
Can you escape the accented characters in the pathname? Seems like something else is awry here with how this is handled 🤔. |
Sorry, how would I escape the accented characters? File names are handled by Jekyll. |
My bad, it wasn't clear to me initially what you meant. I know there are some Liquid functions that deal with escape characters and encodings in body text, but I have not tried this with directory structures and honestly don't know what the limitations are. (Can you run this again with Seems like something that @jekyll/build should look into. |
Running with
|
Maybe this issue should be on jekyll/jekyll-watch? I'm not familiar with ruby but I tried to change this file https://github.com/jekyll/jekyll-watch/blob/master/lib/jekyll/watcher.rb#L62 :
With this modification, I don't get the error and |
@oremrodrigo Thank you for reporting this issue. I went ahead and opened a PR at |
github-pages
jekyll doctor
to check my configurationMy Reproduction Steps
If the path where jekyll project is located contains accented characters,
jekyll serve
will crash after any modification on the directory. Building the project works fine, but it will crash when the watcher detects a change on the directory.On version 3.6.2 it works correctly, so I believe this is a regression.
Let's use the latest jekyll release (v3.8.3):
test-olé
, cd into it.bundle init
,bundle add jekyll
,bundle install
touch index.html
bundle exec jekyll serve
, it will build and start the server correctly.touch hi
on the same directory.Now let's use an older jekyll version.
Gemfile
and runbundle update
.bundle exec jekyll serve
.touch hey
.I also tried the master branch and I got the same error of the latest version.
The text was updated successfully, but these errors were encountered: