In case of using not yarn package manager, change params in rollup.config.js
at the line 20.
return {
writeBundle() {
if (server) return;
server = require('child_process').spawn(
'yarn',
['start', '--', '--dev'],
{
stdio: ['ignore', 'inherit', 'inherit'],
shell: true,
}
);