Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Browsersync only reloading once #28

Open
williamengbjerg opened this issue Mar 24, 2021 · 2 comments
Open

Browsersync only reloading once #28

williamengbjerg opened this issue Mar 24, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@williamengbjerg
Copy link
Contributor

williamengbjerg commented Mar 24, 2021

I've been playing with browsersync: gulp watch-styles --base --bs It looks like it's only applying and reloading the browser the first time I make a changes in my _theme.less file. All other times it's like nothing is happening in terminal. It's not firing the command again.

image

bsConfig file:

module.exports = {
    proxy:  `${ptotocol}://${localConfig.hostname}.${localConfig.generic}/`,
    host:   `${localConfig.hostname}.${localConfig.generic}`,
    tunnel: `${localConfig.hostname}`,
    port:   3000,
    open:   false
}; 
@volodymyr-lisniak volodymyr-lisniak self-assigned this Mar 24, 2021
@volodymyr-lisniak volodymyr-lisniak added the bug Something isn't working label Mar 24, 2021
@volodymyr-lisniak
Copy link
Owner

volodymyr-lisniak commented Mar 24, 2021

@williamengbjerg thanks!

The same behavior with _theme.less and Magento_Theme/web/css/source/_module.less. But everything is ok with other files
Need to investigate

@williamengbjerg
Copy link
Contributor Author

@bobmotor Confirming when changing other files it works pretty well. Except _variables.less. Maybe because it's imported through _theme.less? I'm not completely sure.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants