Closed chenglou closed 10 years ago
Hrm. I'm OK with ditching beefy
and just going with the react-browserify-template
setup we had before
Finally, I'm keeping beefy for now. Other live reloading plugins require buying the app; I can imagine lots of people don't have it. Also, beefy's pretty convenient for opening up the browser page.
I'm working on the grunt branch (not submitted yet) right now and it should hide away the extra steps for browserify + min + whatever else all into grunt build
, so for now we're fine.
beefy very conveniently generates and starts its own page if it doesn't find an
index.html
in the folder. However, anindex.html
template is still needed to test the final browserified/stylesheet-ed bundle (dev and prod, but mostly prod). One or two errors actually creeped up only when I used the browserified bundle.So about the
index.html
template: this gets confusing as the it uses the browserified bundle and beefy really doesn't have a role in all of this beside watching for changes (can substitute withwatch
) and refresh the page (should be possible without beefy?). I'll explore some solutions further.