Commit 064502e8 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Ne déclenche pas le livereload sur les fichiers PDF.

parent dc9d0ff2
......@@ -9,7 +9,10 @@ const serve = () => {
server({
host: process.env.SERVER_HOST || "localhost",
port: process.env.SERVER_PORT || 3000,
livereload: true,
livereload: {
enable: true,
filter: (filename, cb) => cb(!/(node_modules|\.pdf)$/.test(filename))
}
})
);
};
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment