opencodespaces 1.1.5 → 1.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/commands/sync.js +2 -2
- package/package.json +1 -1
package/dist/commands/sync.js
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
* opencodespaces sync stop [id] # Stop sync
|
|
11
11
|
* opencodespaces sync status # Show sync status
|
|
12
12
|
*/
|
|
13
|
-
import { execSync, spawn } from 'child_process';
|
|
13
|
+
import { execSync, execFileSync, spawn } from 'child_process';
|
|
14
14
|
import fs from 'fs';
|
|
15
15
|
import path from 'path';
|
|
16
16
|
import os from 'os';
|
|
@@ -145,7 +145,7 @@ async function startSync(sessionId, localDir) {
|
|
|
145
145
|
'two-way-resolved',
|
|
146
146
|
...ignoreArgs,
|
|
147
147
|
];
|
|
148
|
-
|
|
148
|
+
execFileSync('mutagen', mutagenArgs, { stdio: 'pipe' });
|
|
149
149
|
spinner.succeed(`Syncing ${localPath} ↔ ${hostAlias}:${remotePath}`);
|
|
150
150
|
logger.log('');
|
|
151
151
|
logger.warn('Note: node_modules and other large directories are excluded by default.');
|