Closed jm-kumaresh closed 5 years ago
You can do it with browser-sync.
I use livereloadx. Example package.json
file:
"scripts": {
"server": "harp server",
"livereload": "livereloadx -s public --include '*.{json,less,scss,js,ejs,jade,md,pug}'",
"dev": "npm-run-all --parallel server livereload",
"start": "npm run dev",
"compile": "harp compile"
}
@omichelsen Thank you for sharing that article. Also @Nadeeshyama that's a great set up you have for your package.json as well. Thank you guys.
Any idea adding auto reload the browser when there is a changes in file.