silverbux / laravel-angular-admin

Laravel + Angularjs + Bootstrap + AdminLTE binded by Gulp workflow Admin Dashboard Boilerplate / Starter.
http://silverbux.github.io/laravel-angular-admin/
MIT License
924 stars 414 forks source link

How to enable auto/live reload #49

Closed makusan closed 8 years ago

makusan commented 8 years ago

Hello,

How do i enable the auto/live reload function when editing files? Mine is not working after default installation

.browserSync({
      proxy: 'localhost:8000',
      files: [ 'public/**/*.css', 'angular/pages/**/*.page.html' ]
})
silverbux commented 8 years ago

gulp watch should do it. also there's a current bug that whenever you create a new file for example a new component, you have to restart gulp watch

makusan commented 8 years ago

I did that, but even editing the css files, it is not autoreload as it should. Could it be because i did not run

php artisan serve --host=0

im getting error if i set the host=0

$ php artisan serve --host=0
Laravel development server started on http://0:8000/
[Tue Jun 28 16:34:59 2016] PHP Warning:  Unknown: php_network_getaddresses: getaddrinfo failed: No such host is known.  in Unknown on line 0
[Tue Jun 28 16:34:59 2016] Failed to listen on 0:8000 (reason: php_network_getaddresses: getaddrinfo failed: No such host is known. )

Do you know how to bind that ip on windows ?

Thanks for replying

makusan commented 8 years ago

Nevermind, i switched to vagrant instead

makusan commented 8 years ago

Btw, we can use php artisan serve --host=0.0.0.0