These are chat archives for opal/opal

17th
May 2016
thanks to @awwaiid for the app and the basic approach
Steve Tuckner
@boberetezeke
May 17 2016 14:09
Very cool.
Forrest Chang
@fkchang
May 17 2016 18:37
@boberetezeke if u get a chance to try it out, lemme know how it goes
How much are people wanting sass/scss hot reloading, looks like it's not that hard, but if no one wants it, might put it off until later
@/all ^^
CJ Lazell
@cj
May 17 2016 19:53
@fkchang very cool. I'll give it a try. I think CSS hot reloading would be good, let the compilers handle making it css. (I wouldn't make it compiler specific)
Forrest Chang
@fkchang
May 17 2016 21:29
@cj for sass I'd probably target rails, because I'll know what the convention is, I'll expect the asset pipeline to server up the compiled css files - for non rails, I'm not sure what I'd do
Brady Wied
@wied03
May 17 2016 21:30
@fkchang - Does this reinvent the wheel since webpack/other bundlers do this kind of thing ?
CJ Lazell
@cj
May 17 2016 21:32
webpack dev server does it, but I found it adds 1 minute onto the startup compile time. I personally switched to livereload, but for the video demo hotreloading would be better
Forrest Chang
@fkchang
May 17 2016 21:35
@wied03 yes and no, it is an all ruby/opal, self contained thing, so if you're doing any kind of opal/ruby webserver, it should be able to just drop in and you won't have to do anything w/webpack or similar. I do believe we will want to straddle the hybrid approach w/opal and rails, w/sprockets serving up all the things the normal Rails ecosystem, and webpack or similar for being a "1st class JS citizen". While I do favor moving as much js to webpack, I see an "all webpack solution" being only one of a few permutations, and not particularly appealing to most Rails programmers (who I think is the largest demographic likely to want to do opal programming)
Brady Wied
@wied03
May 17 2016 21:36
fair enough, maybe add that content to your repo as an FYI/vision for the project ?
Forrest Chang
@fkchang
May 17 2016 21:36
And the other thing is it works here and now for sinatra, rails and reactrb - I definitely feel getting the word out that we have modern web development tools like react.js does, right now, is useful for getting some attention to the assorted opal projects, as hopefully some momentum
@wied03 I'm up for that, I'll see what I can do
Brady Wied
@wied03
May 17 2016 21:37
nothing fancy, just that way in your README people can see how you envision this
Brady Wied
@wied03
May 17 2016 21:53
:+1: