create-devcycle-app
Advanced tools
Comparing version 1.1.0 to 1.1.1
@@ -18,5 +18,2 @@ "use strict"; | ||
}); | ||
process_1.default.on('SIGTERM', () => { | ||
(0, _1.logDevInstructions)(outputPath); | ||
}); | ||
const command = await (0, _1.parseDevCommand)(outputPath); | ||
@@ -23,0 +20,0 @@ if (!command) { |
{ | ||
"name": "create-devcycle-app", | ||
"version": "1.1.0", | ||
"version": "1.1.1", | ||
"description": "A command line tool for generating DevCycle example apps", | ||
@@ -5,0 +5,0 @@ "engines": { |
@@ -47,3 +47,2 @@ import { startDevServer } from './startDevServer' | ||
expect(mockProcessOn).toHaveBeenCalledWith('SIGINT', expect.any(Function)) | ||
expect(mockProcessOn).toHaveBeenCalledWith('SIGTERM', expect.any(Function)) | ||
expect(mockParseDevCommand).toHaveBeenCalledWith(outputPath) | ||
@@ -50,0 +49,0 @@ expect(mockExec).toHaveBeenCalledWith(command, { cwd: outputPath }, expect.any(Function)) |
@@ -14,5 +14,2 @@ import { exec } from 'child_process' | ||
}) | ||
process.on('SIGTERM', () => { | ||
logDevInstructions(outputPath) | ||
}) | ||
@@ -19,0 +16,0 @@ const command = await parseDevCommand(outputPath) |
64550
1495