wative 1.2.3 → 1.2.4
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/lib/daemon-watcher.js +1 -1
- package/package.json +1 -1
- package/src/daemon-watcher.js +1 -1
package/lib/daemon-watcher.js
CHANGED
|
@@ -113,7 +113,7 @@ const startService = () => {
|
|
|
113
113
|
logToFile(`Starting SSH service '${serviceName}' (attempt ${restartCount + 1})`);
|
|
114
114
|
|
|
115
115
|
// Spawn the SSH service process
|
|
116
|
-
childProcess = spawn('
|
|
116
|
+
childProcess = spawn('node', [path.join(wativeRoot, 'bin', 'wative.js'), 'ssh', 'start', '-c', serviceName], {
|
|
117
117
|
stdio: ['ignore', fs.openSync(logFile, 'a'), fs.openSync(logFile, 'a')],
|
|
118
118
|
env: {
|
|
119
119
|
...process.env,
|
package/package.json
CHANGED
package/src/daemon-watcher.js
CHANGED
|
@@ -113,7 +113,7 @@ const startService = () => {
|
|
|
113
113
|
logToFile(`Starting SSH service '${serviceName}' (attempt ${restartCount + 1})`);
|
|
114
114
|
|
|
115
115
|
// Spawn the SSH service process
|
|
116
|
-
childProcess = spawn('
|
|
116
|
+
childProcess = spawn('node', [path.join(wativeRoot, 'bin', 'wative.js'), 'ssh', 'start', '-c', serviceName], {
|
|
117
117
|
stdio: ['ignore', fs.openSync(logFile, 'a'), fs.openSync(logFile, 'a')],
|
|
118
118
|
env: {
|
|
119
119
|
...process.env,
|