Watch lbry-redux for changes
This commit is contained in:
parent
71bc347224
commit
4bb1564031
3 changed files with 674 additions and 52 deletions
|
@ -44,6 +44,7 @@
|
|||
"electron-publisher-s3": "^20.8.1",
|
||||
"electron-updater": "^2.23.3",
|
||||
"electron-window-state": "^4.1.1",
|
||||
"filewatcher-webpack-plugin": "^1.2.0",
|
||||
"find-process": "^1.1.0",
|
||||
"formik": "^0.10.4",
|
||||
"hast-util-sanitize": "^1.1.2",
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
const path = require('path');
|
||||
const FilewatcherPlugin = require('filewatcher-webpack-plugin');
|
||||
|
||||
const ELECTRON_RENDERER_PROCESS_ROOT = path.resolve(__dirname, 'src/renderer/');
|
||||
|
||||
|
@ -20,4 +21,9 @@ module.exports = {
|
|||
modules: [ELECTRON_RENDERER_PROCESS_ROOT, 'node_modules', __dirname],
|
||||
extensions: ['.js', '.jsx', '.scss'],
|
||||
},
|
||||
plugins: [
|
||||
new FilewatcherPlugin({
|
||||
watchFileRegex: [require.resolve('lbry-redux')],
|
||||
}),
|
||||
],
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue