Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Can't find asset when name starts with dot

See original GitHub issue

I am unable to obtain via a link an asset file when the name of that file starts with a dot (.).

See this branch. While codedoc serve is running in the terminal, clicking on the link that points to src/assets/text/.editorconfig returns 404 in the browser and displays

# Not Found::
# /src/assets/text/.editorconfig
# tried the following paths:
# C:\Code\Blogs\tyson-williams-blog\src\assets\text\.editorconfig
# C:\Code\Blogs\tyson-williams-blog\dist\src\assets\text\.editorconfig.html

in the terminal. I think this is incorrect. I think that C:\Code\Blogs\tyson-williams-blog\src\assets\text\.editorconfig exists.


See the file Copy.editorconfig in that screenshot? I can access that file via a link that points to src/assets/text/Copy.editorconfig. Therefore, I think the issue is with an asset file with a name that starts with a dot (.).

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:21 (21 by maintainers)

github_iconTop GitHub Comments

mustcommented, Sep 15, 2020

It’s on my todo list now. It will hopefully be done by the end of the week!

loreanvictorcommented, Sep 27, 2020

added serving dotfiles to local as well, will be deployed via @codedoc/core@0.2.15

Read more comments on GitHub >

github_iconTop Results From Across the Web

Accessing properties with a dot in their name - Stack Overflow
C# doesn't have any way of quoting identifiers. If it's not a valid identifier, your only option is reflection. However, it's possible the...
Read more >
find asset by name - Unity Forum
I know my asset isn't a game object, but this shows how i want the code to work. I'm sure the answer is...
Read more >
finding folders containing but not starting with a . (dot)
The biggest issue is that you're matching path not name - every path will match . when the starting point of your search...
Read more >
Using Windows Explorer, how to find file names starting with a ...
The first dot is to search the current directory; the second is 'back-slashed escaped' to search for names starting with a dot literal....
Read more >
Assets - Polkadot Wiki
Learn about fungible and non-fungible assets in the Polkadot network.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found