Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

How to enable auto/live reload #49

Closed
makusan opened this issue Jun 28, 2016 · 4 comments
Closed

How to enable auto/live reload #49

makusan opened this issue Jun 28, 2016 · 4 comments

Comments

@makusan
Copy link

makusan commented Jun 28, 2016

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
Copy link
Owner

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
Copy link
Author

makusan commented Jun 28, 2016

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
Copy link
Author

makusan commented Jun 28, 2016

Nevermind, i switched to vagrant instead

@makusan makusan closed this as completed Jun 28, 2016
@makusan
Copy link
Author

makusan commented Jun 29, 2016

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants