rebuild notes plugin when html changes

edit
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,7 +368,8 @@
window.addEventListener( 'message', function( event ) {
if (window.location.origin !== event.origin){
// Ignore post messages from other origins to prevent XSS
if( window.location.origin !== event.origin ){
return;
}