Search code examples
gulpbrowser-syncgulp-browser-sync

why my gulp+browser-sync settings not work?


I have used it for a long time, my settings is here, but today I try to start a new project, and use it again, but it does not work as expected.

here is the result when I start the command gulp

my package.json file is the same as before, but with the former downloaded node modules, it can work, with the new downloaded node modules, the result is as above.

why? help


Solution

  • I change my code from baseDir: '' to baseDir: './', and it works