Cannot serve static file anymore since 2.2.1
See original GitHub issueI 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:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top 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 >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
Sorry, I did not have time to try it out until now. 2.2.2 works just fine, thanks!
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
.