How to watch files different than index.html
See original GitHub issueHello,
In my config file I have files: "*",
since I have several HTML files in addition to index.html
.
But how do I make Browser Sync watch these other files that have different names? i.e. about.html
, contact.html
, etc.
I remember when I was learning (and I still am as you obviously tell) how to get Browser Sync to work I was able to just double click on any of my HTML files, make changes to them and they would then get refreshed… but I honestly forgot how I made that happen.
Any help is greatly appreciated.
Thanks.
Issue Analytics
- State:
- Created 10 years ago
- Comments:8 (3 by maintainers)
Top Results From Across the Web
Why does index.html looks different from other .html files?
They are different because they are two completely different HTML files. Once contains your index, and one contains your gallery.
Read more >Viewing HTML-files
HTML : Viewing HTML-files · start your browser · under the "File" menu click on "Open Page" · in this new box, click...
Read more >Default file other than index.html - Stack Overflow
You can set the files for the server to look for to index.json (as well as index.html and index.htm which are common on...
Read more >How to add a different file than index.html on nginx?
When I access mywebsite.com , I see index.html . How could I make mywebsite.com/scnd_page/ to point to send_page.html ? I've tried some ...
Read more >Apache Display / Change a Default Page Other Than index.html
html or index.php. Advertisement. The DirectoryIndex directive sets the list of resources or file to look for, when the client requests an index...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Change the server.baseDir option to this & try again - you shouldn’t need the snippets if you’re using the server.
use : browser-sync start --server --directory --files “*” to load all.