electron-userland / electron-userland/electron-webpack

Adding files to the list of files that are watched by webpack

Open
#178 5 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
902
Forks
168
PR merge metrics
No merged PRs in 30d

Description

Hello,

we are having a lerna project and one of our modules is being built by electron-webpack. For that module all HMR stuff in renderer and main process works perfect. Now it would be nice to be able to configure webpack so if we change a file in our other modules the renderer still gets rebuilt when running in watch mode.

For that I already modified the webpack configuration for our electron module so it wouldn't load the other built modules but build all our modules from it's sources. That works fine, but the watcher is still ignoring the files that are not in our electron project.

Is it somehow possible to configure the watcher and add some additional folders to the list of watched files?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.