This is an excellent module idea ... do you plan on furthering it or allowing others to?
It looks like it could use a bit of work to get it to recognize all css files n other such fixes.
Does your ruby jem thing integrate with drupal if not I would think this is the better choice for me.
It's like firebug but actually changes the files. I love the idea of this for tweaking design locally.
Comments
Comment #1
tjholowaychuk commentedThe ruby gem is framework agnostic, if you have ruby and a text editor you can use it :p
Its a VERY basic idea actually .. it simply watches the the file(s) choosen, when they are modified via your text editor of choice
then all browser(s) specified are simply refreshed.
This was a fun JS prototype but ultimately re-creating a text editor within a browser is not the right choice.
Comment #2
Macronomicus commentedI see .. so basically the jem refreshes the browser content upon changes in watched css. Thats pretty damn cool. Still I cant help but like the idea of the drupal module; for my lan testing server. I thought it would be useful to edit from within the browser for simple tweaks rather than using samba, putty or accessing the ui of the server though vmwareWorkstation.
Comment #3
tjholowaychuk commentedPHP would need write access to all the CSS files which is kinda sketchy, and this way works perfect with multiple browsers concurrently which is much better than one little window within a browser. For instance here at work if I have my laptop and 2 other monitors, I can chuck 2 browsers on each and view the CSS/markup changes simultaneously
Comment #4
Macronomicus commentedYeah .. that's pretty damn cool! ^_^