Skip to content

Commit 2e3e896

Browse files
committed
Merge pull request #309 from tomchiverton/patch-3
Stop Taffy intercepting requests in ignored folders when applicaton starting up
2 parents 7e2e0b5 + b14b0f0 commit 2e3e896

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/api.cfc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383
(
8484
application._taffy.settings.reloadOnEveryRequest eq true
8585
)>
86-
<cfif !local.reloadedInThisRequest><!--- prevent double reloads --->
86+
<cfif !local.reloadedInThisRequest and !isUnhandledPathRequest(arguments.targetPath)><!--- prevent double reloads --->
8787
<cfset onApplicationStart() />
8888
</cfif>
8989
</cfif>

0 commit comments

Comments
 (0)