rebuild notes plugin when html changes

This commit is contained in:
hakimel 2022-02-28 09:19:58 +01:00
parent c47bf217be
commit c83c68500f
4 changed files with 5 additions and 4 deletions

View File

@ -298,7 +298,7 @@ gulp.task('serve', () => {
gulp.watch(['js/**'], gulp.series('js', 'reload', 'eslint'))
gulp.watch(['plugin/**/plugin.js'], gulp.series('plugins', 'reload'))
gulp.watch(['plugin/**/plugin.js', 'plugin/**/*.html'], gulp.series('plugins', 'reload'))
gulp.watch([
'css/theme/source/*.{sass,scss}',

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -368,6 +368,7 @@
window.addEventListener( 'message', function( event ) {
// Ignore post messages from other origins to prevent XSS
if( window.location.origin !== event.origin ){
return;
}