solved timeout error via fetch response
This commit is contained in:
parent
ba9d9e6abb
commit
1d68336a06
9 changed files with 246 additions and 110 deletions
|
|
@ -42,11 +42,14 @@ module.exports = {
|
|||
],
|
||||
devtool: 'cheap-source-map',
|
||||
devServer: {
|
||||
static: path.resolve(__dirname, 'dist'),
|
||||
// Tell the server where to serve the content from.
|
||||
static: {
|
||||
directory: path.resolve(__dirname, 'dist'),
|
||||
},
|
||||
onBeforeSetupMiddleware() {
|
||||
spawn(
|
||||
'electron',
|
||||
['.'],
|
||||
['--trace-warnings .'],
|
||||
{ shell: true, env: process.env, stdio: 'inherit' }
|
||||
)
|
||||
.on('close', code => process.exit(0))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue