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

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

No related merge requests found
Showing with 4 additions and 1 deletion
+4 -1
......@@ -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))
}
})
);
};
......
Supports Markdown
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