I npm linked a library that I'm developing into a fresh create-react-app'd project, and it worked perfectly fine.
Then I changed something in the library, which meant it would delete the lib/ folder and recompile all the files.
No matter how long I waited CaseSensitiveWebpackPlugin always threw this error, even when the file long exists again! I have to restart the server for every tiny library change, which is specifically something I tried to avoid.
Module not found: [CaseSensitivePathsPlugin] `/Users/something/sites/somelib/styled-components/lib/index.js` does not match the corresponding path on disk - File does not exist.
/cc @gaearon so he's aware since this breaks in create-react-app, might be issues over there too.
I
npm link
ed a library that I'm developing into a freshcreate-react-app
'd project, and it worked perfectly fine.Then I changed something in the library, which meant it would delete the
lib/
folder and recompile all the files.No matter how long I waited CaseSensitiveWebpackPlugin always threw this error, even when the file long exists again! I have to restart the server for every tiny library change, which is specifically something I tried to avoid.
/cc @gaearon so he's aware since this breaks in
create-react-app
, might be issues over there too.