A lot ot "hot-update" files being generated
See original GitHub issueCurrent Behavior
Whenever I run the app, a lot of hot-update.(json|js)
files are generated and they remain there after closing the app/bundler. I am not even using hot reload. It’s turned off on Dev Settings
I can add them to .gitignore
via *.hot-update.*
and it’s a “solution”, but not ideal…
Expected Behavior
No clutter. Or at least in another folder.
Haul Configuration (webpack.haul.js)
import {createWebpackConfig} from "haul";
import { resolve } from 'path'
export default {
webpack: env => {
const config = createWebpackConfig({
entry: `./src/index.ts`,
})(env);
config.module.rules = [
{
test: /\.tsx?$/,
exclude: '/node_modules/',
use: [
{
loader: 'babel-loader',
},
{
loader: 'ts-loader',
}
]
},
...config.module.rules,
];
config.resolve.extensions = [
'.ts',
'.tsx',
`.${env.platform}.ts`,
'.native.ts',
`.${env.platform}.tsx`,
'.native.tsx',
...config.resolve.extensions,
]
config.resolve.alias = {
...config.resolve.alias,
src: resolve(__dirname, 'src'),
}
return config;
}
};
Your Environment
software | version |
---|---|
Haul | 1.0.0-rc.11 |
react-native | 0.57.8 |
node | v10.15.0 |
npm or yarn | 1.13.0 |
Issue Analytics
- State:
- Created 5 years ago
- Reactions:6
- Comments:5 (4 by maintainers)
Top Results From Across the Web
Why hot-update.json files are crowding my project directory
I am using Webpack 4.4.1 version. I was able to solve it by adding this to my webpack output config and adding the...
Read more >Webpack's Hot Module Replacement Feature Explained
The Hot Module Replacement (HMR) feature was created to solve the above problems, and today it ... Hot update files under the Network...
Read more >Manage render files in Final Cut Pro - Apple Support
In the Libraries sidebar in Final Cut Pro, select a library. Choose File > Delete Generated Library Files. In the window that appears,...
Read more >Webpack & The Hot Module Replacement | by rajaraodv
Webpack uses HotModuleReplacementPlugin to generate a manifest (a JSON containing list of changed modules) and an update file(a JS with the ...
Read more >Windows Update log files - Microsoft Learn
Learn about the Windows Update log files and how to merge and ... Generating WindowsUpdate.log; Windows Setup log files analysis using ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Here’s a proposed fix for this - https://github.com/callstack/haul/pull/516
Mind sending a PR? 😃