gaearon / react-hot-boilerplate

Minimal live-editing example for React
MIT License
3.91k stars 879 forks source link

changed the regex expression to handle .jsx files #83

Closed gfantom closed 7 years ago

gfantom commented 8 years ago

Pretty straightforward

AlexeyMM commented 8 years ago

Maybe change this regex to .{js|jsx}, for handle js and jsx files together

alanrsoares commented 8 years ago

use this

/\.jsx?$/
AlexeyMM commented 8 years ago

Oh, sorry, I did not notice the question mark in commit.