I recently switched to client side less compilation to speed up development time. It's a lot faster than server side, but every time I want to do a page refresh, it breaks my theme, and I have to clear pub/static/frontend to fix it.

Are there any other settings that I need to change to fix that?

My errors in the console are TypeError: require.config is not a function

and in network tab

TypeError: require.config is not a function. require.config(porto_config);


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.