diff --git a/bs-config.js b/bs-config.js index 7ceb40d3..f69a73a3 100644 --- a/bs-config.js +++ b/bs-config.js @@ -25,11 +25,6 @@ module.exports = { paths.globalHeaderFooter + watchedFilesPattern ], - "ignore": [ - paths.theme + '/sass/**/*.*', - paths.globalHeaderFooter + '/postcss/**/*.*' - ], - "open": false, "reloadOnRestart": true, "notify": false, diff --git a/package.json b/package.json index 1aba5c9e..6ceabc10 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "wporg-news-2021-project", "version": "1.0.0", - "description": "", + "description": "The codebase and development environment for w.org/news.", "author": "WordPress.org", "license": "GPL-2.0-or-later", "private": true, @@ -24,6 +24,7 @@ "sync": "browser-sync start --config bs-config.js" }, "workspaces": [ - "source/wp-content/themes/wporg-news-2021" + "source/wp-content/themes/wporg-news-2021", + "source/wp-content/mu-plugins/wporg-mu-plugins" ] } diff --git a/readme.md b/readme.md index 94b4b07f..f0a5fc37 100644 --- a/readme.md +++ b/readme.md @@ -32,3 +32,4 @@ These must be run in the project's root folder, _not_ in theme/plugin subfolders * Build all assets once: `yarn workspaces run build` * Rebuild all assets on change: `yarn workspaces run start` +* Reload browser when files change: `npm run sync` diff --git a/source/wp-content/themes/wporg-news-2021/block-template-parts/post-navigation.html b/source/wp-content/themes/wporg-news-2021/block-template-parts/post-navigation.html index ba904bf1..62b42d22 100644 --- a/source/wp-content/themes/wporg-news-2021/block-template-parts/post-navigation.html +++ b/source/wp-content/themes/wporg-news-2021/block-template-parts/post-navigation.html @@ -2,13 +2,14 @@
- -