reactjs - Webpack doesn't recompile files after make changes (create-react-app) -
i have project created create-react-app starter. after copying project 1 folder has stopped recompiling files after making changes , saving. if make changes in root components causes recompilation , can see changes on browser. i'm using react-router-redux, , i've realized webpack does't recompile components nested in route components. it's routes :
<indexroute component={userisnotauthenticated(homepage)} /> <route component={auth}> <route path="signup" component={signuppage} /> <route path="login" component={loginpage} /> <route path="forgot" component={forgotpasswordpage} /> </route> <route component={userisauthenticated(main)}> <route component={profilepage} > <route path="profile/edit" component={editprofilepage} /> </route> <route path="groups" component={grouppage} /> <route path="about" component={aboutpage} /> <route path="contacts" component={contactspage} /> </route> <route path="*" component={notfoundpage} />
so, if make changes in components that're nested in "***page" components source code doesn't recompile. sorry english.
Comments
Post a Comment