diff --git a/packages/documentation/vite.config.js b/packages/documentation/vite.config.js index 5ca5ef6e10..af7680cc71 100644 --- a/packages/documentation/vite.config.js +++ b/packages/documentation/vite.config.js @@ -21,5 +21,6 @@ export default { '@storybook/theming', '@storybook/addon-links', ], + exclude: ['@swisspost/design-system-styles'], }, }; diff --git a/packages/styles/gulpfile.js b/packages/styles/gulpfile.js index df7e5df4fa..b296f68221 100644 --- a/packages/styles/gulpfile.js +++ b/packages/styles/gulpfile.js @@ -151,7 +151,7 @@ gulp.task('build-components', () => { */ gulp.task('sass:dev', () => { return gulp - .src('./src/*.scss', { since: gulp.lastRun('sass:dev') }) + .src('./src/*.scss') .pipe( gulpSass({ includePaths: options.includePaths, @@ -180,7 +180,7 @@ gulp.task('sass:tests', () => { gulp.task( 'watch', gulp.series('temporarily-copy-token-files', () => { - return gulp.watch('./src/**/*.scss', gulp.series('copy')); + return gulp.watch('./src/**/*.scss', gulp.series('copy', 'sass:dev')); }), );