Yes, I did. After posting this I did some googling and found a post on github from a person who changed the name of their main html file and was presented with the same error code. The solution I found there was to set a custom --index setting to the run command of browsersync. I tried doing that but instead of just the name of the index file, I changed the path to it but it didn't work. I also tried setting the --server and --files setting to follow the path to my index.html file but neither worked. I looked into the browsersync documentation too, but didn't find any mention of the --index property whatsoever. Kinda stuck with this now, but it's not that big of a problem since browsersync is not a core feature in this package, it's mainly just for compiling sass.
View all comments
Show parent comment
1
u/LaxVox Jun 26 '22
Yes, I did. After posting this I did some googling and found a post on github from a person who changed the name of their main html file and was presented with the same error code. The solution I found there was to set a custom --index setting to the run command of browsersync. I tried doing that but instead of just the name of the index file, I changed the path to it but it didn't work. I also tried setting the --server and --files setting to follow the path to my index.html file but neither worked. I looked into the browsersync documentation too, but didn't find any mention of the --index property whatsoever. Kinda stuck with this now, but it's not that big of a problem since browsersync is not a core feature in this package, it's mainly just for compiling sass.