更改 GruntFile 不会更改 livereload 端口

Changing GruntFile does not change the livereload port

我需要在多个项目上 运行 g运行t。但它在 livereload 端口的一个项目上给出了错误 'Port 35729 is already in use by another process'。即使我在 G运行tfile 的 initConfig 连接中将值更改为不同的端口,在尝试启动项目时,同样的错误也会不断出现。可能是什么原因?

我发现我必须更改

livereload:true

livereload:12345(你需要的端口)