@@ -810,14 +810,14 @@ process.on('message', (message) => {
810810 assert.strictEqual(stderr, '');
811811 assert.deepStrictEqual(stdout, [
812812 'no --watch args present',
813- `Completed running ${inspect(file)}`,
813+ `Completed running ${inspect(file)}. Waiting for file changes before restarting... `,
814814 `Restarting ${inspect(file)}`,
815815 'no --watch args present',
816- `Completed running ${inspect(file)}`,
816+ `Completed running ${inspect(file)}. Waiting for file changes before restarting... `,
817817 ]);
818818 });
819819
820- it('`--watch-path` ars without `=` used alongside `--watch` should not make it into the script', async () => {
820+ it('`--watch-path` args without `=` used alongside `--watch` should not make it into the script', async () => {
821821 const projectDir = tmpdir.resolve('project-watch-watch-path-args');
822822 mkdirSync(projectDir);
823823
@@ -835,10 +835,10 @@ process.on('message', (message) => {
835835 assert.strictEqual(stderr, '');
836836 assert.deepStrictEqual(stdout, [
837837 'no cli arg ends with .js',
838- `Completed running ${inspect(file)}`,
838+ `Completed running ${inspect(file)}. Waiting for file changes before restarting... `,
839839 `Restarting ${inspect(file)}`,
840840 'no cli arg ends with .js',
841- `Completed running ${inspect(file)}`,
841+ `Completed running ${inspect(file)}. Waiting for file changes before restarting... `,
842842 ]);
843843 });
844844});
0 commit comments