-
Notifications
You must be signed in to change notification settings - Fork 9
nodemon changes retriggers client webpack recompilation even though only server files updated #16
Comments
It's because
|
I think you misunderstand. The folder |
Now I understand. It's a bug. I'll fix it |
Hey @bodyno, still interested in fixing this? Otherwise let's close this 🙂 Thanks! |
Please don't close if not fixed. It is a pretty crucial aspect of a universal rendering app. |
@terencechow then fix it 🙂 |
Hi,
I see
package.json
doesnodemon exec babel-node bin/server.js
Following the code, that will trigger
server/main.js
which retriggers the webpack compiler for the client.When updating a server file is it necessary to retrigger the webpack compiler for the client? I would think no since if I am updating the server folder, that has no effect on the client code and that could take a while if the client code is large.
Do you have this problem as well? (I am asking because my app is modelled after yours, but not exactly identical.). From the code I mentioned above however it does look like you would have the issue I mentioned above...
Any suggestions on fixing?
The text was updated successfully, but these errors were encountered: