define('seajs/plugin-reload', ['socketio'], function(require) {
  var io = require('socketio')

  // decide the server port
  var socket = io.connect('http://localhost:8964')
  socket.on('reload', function(data) {
    // TODO refresh the give path
    location.reload()
  })
});

/**
 * The reload plugin to free your finger.
 */
define('seajs/plugin-reload', [], function(require) {

  // todo

  require.async('path/to/socketio', function(io) {
    var socket = io.connect('http://localhost:8964')
    socket.on('reload', function() {
      location.reload()
    })
  })

});

Tweak plugin reload