P
P
Pavel K2018-02-04 00:57:20
webpack
Pavel K, 2018-02-04 00:57:20

Webpack, Livereload, how to set up?

Greetings!
I'm using Webpack in Laravel5 (5.5.19), I'm trying to set up automatic page reload on change, I found the module https://www.npmjs.com/package/webpack-livereload-plugin
, I'm trying to install, I didn't understand the line about:

Add a script tag to your page pointed at the livereload server

I use my dev server on nginx, I do not plan to use a local one.
How to put it right anyway?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Pavel K, 2018-02-04
@PavelK

Damn, my English is stupid.
You just need to paste it on the page and run npm run watch.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question