Comments (2)
@Mil00Z I think it's not a Laragon issue. For me browserSync works like a charm on my Laravel projects served by Laragon. If you are not familiar with Laravel framework, you could test it with Laragon to see how it implements browserSync
with npm
and webpack
:
- Try to create a Laravel test project in Laragon:
Quick create / Laravel
and name it "laravel" - If all went ok,
http://laravel.test
should work in your browser - Open a terminal in
www\laravel
and runnpm install
- When finished, open
webpack.mix.js
file in your editor and add this line to its end:
mix.browserSync('laravel.test');
- Back to the terminal and run
npm run watch
(run this command again when it finished installing dependencies) http://localhost:3000
should open in browser, but you can use it withhttp://laravel.test:3000
either- Try to edit some text in
resources\views\welcome.blade.php
to see if reloading works - Look at the file
package.json
to see how it's all done
from laragon.
Excelente respuesta.
Muchas gracias.
from laragon.
Related Issues (20)
- Laragon Invalid Namespace error while doing anything. HOT 2
- Running "npm run dev" will create no output and ask for a .js file to be open with HOT 1
- Closing isn't really closing the app HOT 2
- Composer windows incompatible. HOT 3
- mysqli extension is missing if the default configuration...
- mysqli extension is missing if the default configuration... HOT 2
- Ngrok tunnels not working correctly HOT 2
- Set the default browser HOT 2
- [Feature request] Disable tray icon HOT 2
- [Feature request] Node Version Manager
- [Feature Request] Include mailpit in laragon HOT 3
- Multisite HOT 10
- Laragon portable MSVCR120.dll was not found HOT 2
- Portable version HOT 2
- Website Zertifiicate expired HOT 2
- Virus Total Detects 3 Trojans in Portable Version HOT 4
- Is There An Issue Wordpress Index.php & Pretty URL
- Making Laragon available for Linux and Mac HOT 1
- Laragon "Linux Server" HOT 1
- Adding Of JSP Serverlet
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 laragon.