Commit a402cab0 authored by alain's avatar alain 🐙
Browse files

add build instruction to new content types

parent f5641ce4
......@@ -5,4 +5,12 @@
* to customize this model
*/
module.exports = {};
module.exports = {
lifecycles: {
async afterUpdate() {
if(process.env.NODE_ENV === 'production') {
strapi.services.util.build()
}
},
},
};
\ No newline at end of file
......@@ -5,4 +5,12 @@
* to customize this model
*/
module.exports = {};
module.exports = {
lifecycles: {
async afterUpdate() {
if(process.env.NODE_ENV === 'production') {
strapi.services.util.build()
}
},
},
};
\ No newline at end of file
......@@ -5,4 +5,12 @@
* to customize this model
*/
module.exports = {};
module.exports = {
lifecycles: {
async afterUpdate() {
if(process.env.NODE_ENV === 'production') {
strapi.services.util.build()
}
},
},
};
\ No newline at end of file
......@@ -5,4 +5,12 @@
* to customize this model
*/
module.exports = {};
module.exports = {
lifecycles: {
async afterUpdate() {
if(process.env.NODE_ENV === 'production') {
strapi.services.util.build()
}
},
},
};
\ No newline at end of file
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