Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Modify src/main causes multiple electron on reload #707

Closed
loongmxbt opened this issue Jun 4, 2020 · 9 comments
Closed

Modify src/main causes multiple electron on reload #707

loongmxbt opened this issue Jun 4, 2020 · 9 comments
Labels
bug Something isn't working question Further information is requested

Comments

@loongmxbt
Copy link

OS: MacOS 10.15.3
Step1: yarn run dev
Step2: modify src/main/index.js, e.g. add a new line
Step3: automatically reload and a new electron appears, the old one become blank screen.
Step4. I can cmd+q quit the new electron window, but the blank window can't quit easily. I need to open task manager to close it.

BTW: no such problems while modifying renderer files.
image

@issue-label-bot issue-label-bot bot added the bug Something isn't working label Jun 4, 2020
@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label bug to this issue, with a confidence of 0.89. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@mubaidr
Copy link
Owner

mubaidr commented Jun 4, 2020

I don't own a MAC but I will try to reproduce this behavior on Windows.

@mubaidr
Copy link
Owner

mubaidr commented Jun 8, 2020

It does not happen on Windows. Can you please share more info?

  • Electron version
  • Your run command
  • Any flags?

@mubaidr mubaidr added the question Further information is requested label Jun 10, 2020
@loongmxbt
Copy link
Author

loongmxbt commented Jun 10, 2020

Hi, I'll test on windows to see if I can reproduce on Windows.

"devDependencies": {
    "@babel/core": "^7.9.6",
    "@babel/plugin-proposal-class-properties": "^7.8.3",
    "@babel/plugin-proposal-object-rest-spread": "^7.9.6",
    "@babel/preset-env": "^7.9.6",
    "@babel/preset-typescript": "^7.9.0",
    "@typescript-eslint/eslint-plugin": "^2.33.0",
    "@typescript-eslint/parser": "^2.33.0",
    "babel-eslint": "^10.1.0",
    "babel-loader": "^8.1.0",
    "chalk": "^4.0.0",
    "copy-webpack-plugin": "^5.1.1",
    "css-loader": "^3.5.3",
    "electron": "^8.3.0",
    "electron-builder": "^22.6.0",
    "electron-debug": "^3.0.1",
    "electron-rebuild": "^1.11.0",
    "eslint": "^6.8.0",
    "eslint-config-prettier": "^6.11.0",
    "eslint-plugin-prettier": "^3.1.3",
    "eslint-plugin-vue": "^6.2.2",
    "fast-glob": "^3.2.2",
    "file-loader": "^6.0.0",
    "html-webpack-plugin": "^4.3.0",
    "mini-css-extract-plugin": "^0.9.0",
    "node-loader": "^0.6.0",
    "npm-run-all": "^4.1.5",
    "prettier": "^2.0.5",
    "sass": "^1.26.5",
    "sass-loader": "^8.0.2",
    "style-loader": "^1.2.1",
    "tree-kill": "1.2.2",
    "typescript": "^3.9.2",
    "url-loader": "^4.1.0",
    "vue-devtools": "^5.1.3",
    "vue-eslint-parser": "^7.1.0",
    "vue-loader": "^15.9.2",
    "vue-style-loader": "^4.1.2",
    "vue-template-compiler": "^2.6.11",
    "webpack": "^4.43.0",
    "webpack-cli": "^3.3.11",
    "webpack-dev-server": "^3.11.0"
  },

image

Seems like this error
[36895:0610/220056.207432:ERROR:CONSOLE(131)] "Extension server error: Object not found: ", source: devtools://devtools/bundled/extensions/ExtensionServer.js (131)

@codagew
Copy link

codagew commented Jun 18, 2020

@mubaidr It happened on my MacBook too

@mubaidr
Copy link
Owner

mubaidr commented Jun 18, 2020

@ksh2016 Any error message? or any logs in the console?

@codagew
Copy link

codagew commented Jun 19, 2020

@mubaidr I don't think anything useful in the console, and will find some detail info ,maybe later these days

@mubaidr
Copy link
Owner

mubaidr commented Jun 19, 2020

I really have no option for debugging right now as I said I do not own a Mac OS device. I would appreciate if you could contribute.

@mubaidr
Copy link
Owner

mubaidr commented Jul 9, 2020

Cannot reproduce this issue on my system. I will re-open this issue once we have any confirmation.

@mubaidr mubaidr closed this as completed Jul 9, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants