Closed drewcovi closed 12 years ago
LiveReload solves this problem.
Here is how it works:
Give it a try and tell me what you think.
hmmm would that work if we all connect via sftp? or only in a local shared environment? the caveats of different connection technologies is such a pain.
and does that thing diff changes? or if User A is working on a version and saves it will it clobber user B?
I just tried using Livereload with SFTP; It worked well.
I connected to SFTP server using Transmit.app. SFTP server as a disk using Transmit.app. Transmit.app mount the server as a disk in /Volumes/my_server_name/my_server_path I added /Volumes/my_server_name/my_server_path to LiveReload monitored folders.
wait, does autosave save an entire stylesheet? or does it open the stylesheet and update that line of code?
Autosave sends entire file, diffs are in the feature list #13.
or if User A is working on a version and saves it will it clobber user B?
No. Every change immediately saves (by Autosave) and syncs (by LiveReload) so there is nothing to clobber.
Anyway, your feature request seems valid to me. I’ll make an API for that.
hmm okay, and btw i seriously love this idea.
so that means that while someone is about to commit a style (still updating properties), the stylesheet itself can be updated, and rules will obviously shift line numbers?
I'd think this could cause issues of duplicates unless somehow chrome does a quick diff to identify the new location of a given rule.
Alright, so hear me out on this little stop in crazy town
For collaborators, it would be great to allow two people to work on the same site using this plugin. The best way to avoid clobbering eachother would be to use two stylesheets (and merge them at a later date).
However currently we're just searching for the last stylesheet, it would be pretty fantastic if we could pick a specific stylesheet for new styles in the Options, so user A and user B could then work independently.
The default behavior would still default to the last discovered stylesheet.