Closed conraddecker closed 11 years ago
Okay, looks like I jumped the gun a little bit. Sorry about that. I believe the problem was actually in how I set CodeSync up. I originally set up my asset manifest like so
#= require 'code_sync'
#= require_self
window.codeSyncClient = new CodeSync.Client()
I changed it to
#= require 'code_sync'
#= require_self
$ ->
window.codeSync ||= new CodeSync.Client()
and it seems to have resolved the issue.
Hi Conrad,
Sorry for the lack of response. I need to subscribe to notifications, oops.
I am releasing a new version with documentation tonight, and this behavior should be improved quite a bit.
I hope you will continue to use the tool and hopefully you find it more useful with the newest features.
No worries at all Jonathon! I'm definitely looking forward to the next release and will absolutely continue to use the tool. It's come in very handy so far :)
Thanks!
Hey Jonathan! First, I wanted to say this is killer. Thanks so much for taking time to put this together. I set up CodeSync on my Middleman templates and love it so far. Can't wait to use it on all my projects.
I did notice something weird when I got everything up and running today. I'm not sure if I set something up incorrectly or if it's an actual issue worth reporting but I noticed that when I save an asset and CodeSync detects the change it fires a notification to the Middleman log output. This is all fine and dandy and looks like this:
== Codesync detected change: application.js
Right after that output, I see the next line notifying me:
== A CodeSync enabled browser has connected
This is where things get weird. It looks like every I save a file the output that CodeSync sends doubles. Here's a snapshot of the output I'm seeing.
Does that make sense? Am I configuring something incorrectly here by chance?
Let me know what information would be helpful in seeing what I'm working with. I'd be happy to send it along.
Cheers!