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

События срабатывают три раза #47

Closed
rah-emil opened this issue Mar 26, 2021 · 5 comments
Closed

События срабатывают три раза #47

rah-emil opened this issue Mar 26, 2021 · 5 comments

Comments

@rah-emil
Copy link

Мои скрипты почти всегда 3 раза срабатывают. Проблема присутствует с разных ПК. Это происходит только когда запущен browser sync. В чём может быть дело?

@alex-grsm
Copy link

alex-grsm commented Mar 26, 2021

строку добавь эту https://prnt.sc/10w4l4b

ghostMode: { clicks: false },

@agragregra
Copy link
Owner

строку добавь эту https://prnt.sc/10w4l4b

ghostMode: { clicks: false },

она есть)

@alex-grsm
Copy link

не повезло тебе тогда) перепроверил у себя вот (тоже был такой прикол) - все работает ровно.
такой кодик у меня:

function browsersync() {
browserSync.init({
ghostMode: { clicks: false },
server: {
baseDir: 'app/',
middleware: bssi({ baseDir: 'app/', ext: '.html' })
},
//tunnel: 'ruslanloveredesign', // Attempt to use the URL https://yousutename.loca.lt
notify: false,
online: true
})
}

@rah-emil
Copy link
Author

строку добавь эту https://prnt.sc/10w4l4b

ghostMode: { clicks: false },

У меня нет этого
Спасибо, я посмотрю попозже и отпишусь, если что

@rah-emil
Copy link
Author

строку добавь эту https://prnt.sc/10w4l4b

ghostMode: { clicks: false },
Помогло

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

No branches or pull requests

3 participants