src/lib/index.js
function symlinkOrCopySync(dir, target) {
  try {
    symlinkOrCopy.sync(dir, target);
  } catch (e) {
    if (existsSync(target)) {
      rimraf.sync(target);
    }
    symlinkOrCopy.sync(dir, target);
  }
}
function symlinkOrCopySync(dir, target) {
  try {
    symlinkOrCopy.sync(dir, target);
  } catch (e) {
    if (existsSync(target)) {
      rimraf.sync(target);
    }
    symlinkOrCopy.sync(dir, target);
  }
}
function symlinkOrCopySync ( dir , target ) { try { symlinkOrCopy . sync ( dir , target ) ; } catch ( e ) { if ( existsSync ( target ) ) { rimraf . sync ( target ) ; } symlinkOrCopy . sync ( dir , target ) ; } }
Symlink or copy a directory
@param {String} dir Path to an existing
@param {String} target Path of the symlink to create
Symlink or copy a directory