-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
Inconsistent filename casing breaks the watcher #240
Inconsistent filename casing breaks the watcher #240
Comments
Not sure I understand. You should be able to create any number of subdirectories inside |
Sorry I should have phrased it better. I am working on modularizing and I have tried to add things into their own subdirectories. When I save on any of these files though it doesn't seem to trigger a recompilation, only saves on the root level javascript files. I was wondering if I needed to eject the config in order to get it to recompile on any save in the src/ directory and it's subdirectories. |
Everything inside Is there any chance, however, that the name you’re importing has a different casing from the filesystem name? For example, could it be that your file or directory is called |
Thanks! Should have looked a little closer - that was it. |
That’s our fault. We should warn/err in such cases, at least in user code. |
@gaearon were you thinking of something like this? https://github.com/Urthen/case-sensitive-paths-webpack-plugin |
This looks nice! |
Absolutely! I'll see if I can get it to work. On Wednesday, 27 July 2016, Dan Abramov [email protected] wrote:
|
This should be fixed in new version—we now should warn if you attempt to import a file with invalid casing. Can you please verify that this is fixed? Please find the upgrade instructions here. |
Somehow errors are showing up while I don't expect them to. Let me list out the steps:
What I found:
|
I am working on setting up a basic site on this and I want to split up my components into subdirectories. Do I have to eject and modify the webpack config to get the hot reloading working correctly?
The text was updated successfully, but these errors were encountered: