[DOC] owl: add message when setting mode in 'prod'

This commit is contained in:
Géry Debongnie
2019-05-23 13:44:14 +02:00
parent 92b3ab32e2
commit 13b31458da
+3 -1
View File
@@ -29,8 +29,10 @@ Object.defineProperty(__info__, "mode", {
if (QWeb.dev) {
const url = `https://github.com/odoo/owl/blob/master/doc/tooling.md#development-mode`;
console.warn(
`Owl is running in dev mode. This is not suitable for production use. See ${url} for more information.`
`Owl is running in 'dev' mode. This is not suitable for production use. See ${url} for more information.`
);
} else {
console.log(`Owl is now running in 'prod' mode.`)
}
}
});