File tree 2 files changed +2
-5
lines changed
2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change 1
- exports . exitProcess = true
1
+ exports . exitProcess = ! process . env . VUE_CLI_API_MODE
2
2
3
3
exports . exit = function ( code ) {
4
4
if ( exports . exitProcess ) {
Original file line number Diff line number Diff line change @@ -2,7 +2,6 @@ const { withFilter } = require('graphql-subscriptions')
2
2
const path = require ( 'path' )
3
3
const globby = require ( 'globby' )
4
4
const merge = require ( 'lodash.merge' )
5
- const exit = require ( '@vue/cli-shared-utils/lib/exit' )
6
5
const GraphQLJSON = require ( 'graphql-type-json' )
7
6
// Channels for subscriptions
8
7
const channels = require ( './channels' )
@@ -16,10 +15,8 @@ const locales = require('./connectors/locales')
16
15
// Start ipc server
17
16
require ( './utils/ipc' )
18
17
19
- // Prevent code from exiting server process
20
- exit . exitProcess = false
21
-
22
18
process . env . VUE_CLI_API_MODE = true
19
+ console . log ( process . env )
23
20
24
21
const resolvers = [ {
25
22
JSON : GraphQLJSON ,
You can’t perform that action at this time.
0 commit comments