Answer the question
In order to leave comments, you need to log in
How to configure nest to autoload browser pages?
Good afternoon. I'm used to auto-reload on the front, it's very hard and really uncomfortable to click on reload in chrome. Yesterday I spent 2 hours on Google, tried the following: webpack dev server, browser sync, nodemon, now I will try browser sync + gulp.
I configured autocompilation + launch according to the hot reload documentation (webpack-hmr).
I also tried a crutch-extension to reload the window once a second, but it doesn't work very well.
Maybe I did something wrong in each of the ways, in bs I tried to start the server and set the proxy, I got an empty page / get.
I add: in addition to /get, I get a policy error, they say it does not correspond to default-src: 'self', I googled - turned off the policy in chrome. using helmet methods, I did not achieve the same result. Now I just get a 404 error. Still the same /get and sometimes I get what I'm supposed to, but the content doesn't update after compilation even when manually clicking.
Thank you.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question