Closed moszeed closed 3 years ago
What you want is:
config.devServer.watchOptions = {
ignored: '/node_modules/',
poll: 1000 // Check for changes every second
}
Your editor should make pretty clear that the colon you have there is invalid syntax.
We do also have a number of config recipes, including one that's quite similar to your use (syntactically, at least). Certainly feel free to ask though if something doesn't make sense.
big thank you =)
Hello everyone, first i will thank for your support and work on this awesome tool. But i`m running into a Problem i cant get resolved alone.
I just want to extend the
preact.config.js
. All i want is to add following:but i cant find a solution that is working... my latest attempt looks like this:
but i'm still getting a
SyntaxError: Invalid or unexpected token
error. Thank you for your Help.