question-mark
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.

Cannot serve static file anymore since 2.2.1

See original GitHub issue

I have the following script in my package.json:

"reload": "reload --verbose -b -p 12080 -d /tmp/mytestdir"

In /tmp/mytestdir there is one static index.html file (and two leftover index.pdf and output.pdf). With 2.2.0 everything works as expected: When index.html is updated, it is automatically reloaded in the browser. Since 2.2.1, though, only File Not Found is shown. Touching/changing the index.html file has no effect. Reverting back to 2.2.0 fixes this for me.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
robencommented, Aug 22, 2017

Sorry, I did not have time to try it out until now. 2.2.2 works just fine, thanks!

1reaction
robencommented, Aug 18, 2017

Thanks. If it is in fact the argument parsing: I changed the directory name for this issue report, the real one has a “-” in it, as in my-testdir.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Spring Boot not serving static content - Stack Overflow
I've placed a folder named static under src/main/resources . Inside it I have a folder named images . When I package the app...
Read more >
[gatsby develop] Properly serve HTML files in the static directory
gatsby develop does not serve static index.html files when directory is accessed ... It's been at least 20 days since the last update...
Read more >
Collectstable displays 0 static file copied issue - Google Groups
I am using ubuntu linux 18.04, Django-admin - 2.2.1 and Pycharm Community IDE. so my settings.py file has - STATIC_ROOT = 'file:///home/username/ ...
Read more >
How to manage static files (e.g. images, JavaScript, CSS)
Configuring static files​​ In your templates, use the static template tag to build the URL for the given relative path using the configured...
Read more >
Static Content is not loading after upgrade
After upgrade from the Magento 2.1.0 to the Magento 2.1.3 (using composer) static content is not loading anymore.
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 Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found