Skip to content

Resolved issue with file watching and browsersync #6050

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

Merged

Conversation

david-poindexter
Copy link
Contributor

Summary

Resolves #6049

There were several issues here, but the fundamental change was to implement chokidar for better file watching and triggering of browsersync.

Copy link
Contributor

@bdukes bdukes left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is just watching all files and then logging to the console. Should there be some integration with browsersync within the watcher?

@david-poindexter
Copy link
Contributor Author

This is just watching all files and then logging to the console. Should there be some integration with browsersync within the watcher?

Rollup handles this with the chokidarWatch and browserSync shown in https://github.com/dnnsoftware/Dnn.Platform/pull/6050/files#diff-898a305ddbc9104ca302578ccf5e847a95eda1ddda928e8ab585904a25d64b0cR18-R39

@bdukes bdukes merged commit c9678e9 into dnnsoftware:release/10.0.0 May 28, 2024
3 checks passed
@david-poindexter david-poindexter deleted the browsersync-delay-reload branch May 28, 2024 19:49
Copy link
Contributor

@valadas valadas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome!

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

Successfully merging this pull request may close these issues.

4 participants