create-react-wptheme icon indicating copy to clipboard operation
create-react-wptheme copied to clipboard

Browser Refresh not working in warning state

Open eastcoastcoder opened this issue 4 years ago • 2 comments

This could be an issue on my end but I can't seem to get handleWarnings to fire which is breaking browser refresh in a warning state. That said I can just run my client like normal with react-scripts but I was hoping to continue running with wpstart.

Here's the block of code that catches. (Inside wpThemeClient.js)

image

eastcoastcoder avatar Jul 22 '20 13:07 eastcoastcoder

I'm having a similar issue. Any luck in a solution?

michaelsoriano avatar Apr 02 '21 21:04 michaelsoriano

Not really, however the build command works fine with warnings. So I just use the normal react scripts start command for development and the wpscripts build command when I'm ready to publish.

eastcoastcoder avatar Apr 02 '21 22:04 eastcoastcoder