Parenthesis the file path prevent hot reloading of content
See original GitHub issueVersion
@nuxt/content: 1.14.0 nuxt: 2.15.7
Steps to reproduce
Create a Nuxt + @nuxt/content project in directory where some ancestor has parenthesis in the name. For example, ~/Work (Open Source)/my-project
What is Expected?
When I change text in .md or .yml files within the content
directory, for the changes to hot reload in my browser when as long as yarn dev
is running.
What is actually happening?
Content changes do not hot reload. I need to restart yarn dev
before the changes appear in browser. And they do appear on restart of Nuxt. This seems to be an issue only with the hot reloading of content feature. When I move the same project out of a file path containing parenthesis, it works as expected.
Issue Analytics
- State:
- Created 2 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
How to handle a closing parenthesis in path names in a for ...
I get the error "'C:\Documents' is not recognized as an internal or external command, operable program or batch file." I do know the...
Read more >Adding Parenthesis with Text in Tikz Flow Chart - TeX
Based on the @js bibra proposition (+1), suggested are the use of the chains and quotes libraries, removed scaling of image by resizebox...
Read more >file-loader - webpack - JS.ORG
Specifies a custom function to post-process the generated public path. This can be used to prepend or append dynamic global variables that are...
Read more >Importing document metadata, files, and extracted text
Long file path names - If the load file contains a field used to set the folder path on the folders browser, and...
Read more >User Manual - rust-analyzer
If you get an error saying No such file or directory: 'rust-analyzer' , see the ... Enter after { indents contents and closing...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
No need to apologise for pinging on weekend @NozomuIkuta and thank you for investigating the issue 😊
Docus and even Nuxt 3 is also using
chokidar
via unstorage: https://github.com/unjs/unstorage/blob/main/package.json#L43We can track the issue you created and see if it can be solved: https://github.com/paulmillr/chokidar/issues/1165
I like the idea of
unjs/watch
but Paul Miller is doing a great job with chokidar and this kind of tool take a lot of time, no need to re-invent the wheel but instead helping on other open source projects.cc @pi0 (FYI)
@weotch
There is definitely no problem on your side. 🙌 Sorry, my words were not enough.
I’m glad to help people in any way I can do. In some meaning, contributing to OSS and playing TV games on weekends are just same kind of thing to me.
My bad is that I tend to play these games too much until I get win some medals. 😅