Description
The custom block is not visible in the gutenberg editor blocks tray when the option "--hot" is added to the command "wp-scripts start".
Step-by-step reproduction instructions
- Create workspace "sample_workspace";
- create (in the workspace ) a new block project with "npx @wordpress/create-block@latest sample-block" command and performs first build;
- Create (in the workspace) the .wp-env.json file and add the plugin path to this config file;
- Start the test environment with "wp-env"
- launch "npx wp-scripts start --hot" command;
- Navigate with the browser to the Gutenberg editor and open the blocks tray.
Screenshots, screen recording, code snippet
The used .wp-env.json:
{
"plugins": [
"https://downloads.wordpress.org/plugin/gutenberg.latest-stable.zip",
"./sample-block"
],
"config": {
"WP_DEBUG": true,
"SCRIPT_DEBUG": true
}
}
Environment info
-Wordpress version: 6.9.4
- Browser: Google chrome146.0.7680.178 (Build ufficiale) (a 64 bit) (cohort: Stable)
- Operating system: Microsoft Windows 11 Home 25H2
- wp-env version: 11.3.0
- nodejs version: 22.22.2
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.
Description
The custom block is not visible in the gutenberg editor blocks tray when the option "--hot" is added to the command "wp-scripts start".
Step-by-step reproduction instructions
Screenshots, screen recording, code snippet
The used .wp-env.json:
Environment info
-Wordpress version: 6.9.4
Please confirm that you have searched existing issues in the repo.
Please confirm that you have tested with all plugins deactivated except Gutenberg.
Please confirm which theme type you used for testing.