Comments (5)
Thanks for the explanation, Kamil, now its clear.
To anyone who stumble upon this issue: the build rebuild is very fast and takes less than a second for me.
The website started with webpack
and start:hmr
is not going to be reloaded automatically.
from typescript-starter.
the app opened in chrome is not reloading automatically
You probably misunderstood hmr feature. See console output here: https://medium.com/@kammysliwiec/nest-5-the-official-release-node-js-in-2018-1b6d3a47b104
from typescript-starter.
Hi, so do you have clue how to make it reload automatically? Should I decrease the webpack watcher timeout, or make the app more complicated to test hot reload?
from typescript-starter.
@xgenvn the point is that app is not reloaded by the browser automatically. Heres an abstract of the article that Kamil have referenced: "Thanks to the webpack hot reload feature, your application will apply changes even within 1–2 seconds, reducing amount of time spent on the compilation to an absolute minimum."
So the point of the feature is to improve the build and decrease the build time. You can see a gif in Kamils post that shows exactly that. Let me know if its not clear yet.
from typescript-starter.
@yaroslavya ah, got it. Thank you ;).
from typescript-starter.
Related Issues (20)
- How to Debug NestJs in WebStorm HOT 1
- npm run start in clean project doesn't work HOT 3
- Lint script does not work as expected HOT 1
- tsconfig.json exclude setting is not necessary because it is already handled by defaults HOT 1
- TypeORM - Entity not loaded if specified in the ormconfig.json HOT 1
- Docker files are being ignored in .gitignore HOT 1
- Add "skipLibCheck": true, to tsconfig.json HOT 1
- `tsbuildinfo` should be removed in `prebuild` - `incremental` flag can cause hard to pin down errors HOT 1
- eslint-plugin-import is not actually used HOT 2
- Proposal: Add Dockerfile HOT 1
- Is tsconfig.build.json still needed ? HOT 3
- Incorrect import path HOT 2
- Makes sense have an example of Clean Architecture on this (or on other) repo implemented? HOT 1
- How to remove the Label "Nest framework TypeScript starter repository" in Swagger Doc? HOT 1
- What versions of node are compatible/supported? HOT 1
- TypeScript unsupported version by @typescript-eslint
- Imports order as a part of eslint and prettier HOT 2
- Add `lib` field in `tsconfig.json` to exclude dom related apis explicitly. HOT 3
- npm run start:prod thrown error. HOT 1
- How to create the starter using 'fastify' instead of 'express' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from typescript-starter.