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

feat: write typescript on main; restart when changed #101

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

maple-leaf
Copy link

  • able to write typescript on main.development
  • auto restart electron when main.development script file changed

1. use main.development.ts instead of main.development.js
2. ignore main.development.js and main.development.js.map
@augustjd
Copy link

I needed this! Works great.

@stephen776
Copy link

Looking at doing the same thing in my project. Can you explain the reason for adding a second tsconfig?

@maple-leaf
Copy link
Author

@stephen776 the added tsconfig inside app is used for app.development.ts only, which has a different entry and outDir config.

@adammenges
Copy link

Yes please this should get merged in.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants