Highlighted

Framework Mach-ii issue

Advisor ,
Oct 15, 2015

Copy link to clipboard

Copied

Hi All,

First time seeing an app using framework Mach-ii. I did some changes to my app code, it looks like the framework cache the app, the only way to see the updates is restarting the CF service.

Is there a better way to refresh the cache for my app?

I tried creating a basic application.cfc with ApplicationStop() as:

<cffunction name="OnApplicationStart" access="public" returntype="boolean" output="false" hint="Fires when the application is first created.">

        <cfset ApplicationStop() />

        <!--- Return out. --->

        <cfreturn true />

    </cffunction>

But it doesn't work.

Anyone work with this framework?

Thanks!

Views

118

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

Framework Mach-ii issue

Advisor ,
Oct 15, 2015

Copy link to clipboard

Copied

Hi All,

First time seeing an app using framework Mach-ii. I did some changes to my app code, it looks like the framework cache the app, the only way to see the updates is restarting the CF service.

Is there a better way to refresh the cache for my app?

I tried creating a basic application.cfc with ApplicationStop() as:

<cffunction name="OnApplicationStart" access="public" returntype="boolean" output="false" hint="Fires when the application is first created.">

        <cfset ApplicationStop() />

        <!--- Return out. --->

        <cfreturn true />

    </cffunction>

But it doesn't work.

Anyone work with this framework?

Thanks!

Views

119

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Oct 15, 2015 0

Have something to add?

Join the conversation