Skip to content

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