inconsistent loadSource plugin behavior

23 views
Skip to first unread message

Brian

unread,
Sep 6, 2012, 12:17:30 PM9/6/12
to js-test...@googlegroups.com
I've been loading a js loadSource plugin by adding it to the 'load' section. This has a problem, in that it doesn't affect the initial loading of the source. It only takes effect after using --reset.

Is there some other way to load javascript plugins, so they take effect before the initial loading of source files?

Bret Little

unread,
Oct 19, 2012, 1:33:45 PM10/19/12
to js-test...@googlegroups.com
Brian, did you ever figure this out? I am having issues getting the loadSource plugin to consistently load even with the --reset flag on the jsTestDriver client.

Cory Smith

unread,
Oct 19, 2012, 1:46:30 PM10/19/12
to js-test...@googlegroups.com
JsTD does, ah, "intelligent" caching of files. So, unless a file has
changed it won't be reloaded unless: --reset is passed, or a file
before it in the load order changes. This ignore preloading files,
which causes the files to be written into the webpage on load.
> --
> You received this message because you are subscribed to the Google Groups
> "JsTestDriver" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/js-test-driver/-/NzI-y1CdgwkJ.
>
> To post to this group, send email to js-test...@googlegroups.com.
> To unsubscribe from this group, send email to
> js-test-drive...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/js-test-driver?hl=en.
Reply all
Reply to author
Forward
0 new messages